Files
revng-revng/tests/Runtime/printf.c
T
Alessandro Di Federico 9c2bb85f30 Introduce printf test using %f
This test will be useful to test that calls to external libraries using
float arguments work as appropriate.
2018-05-29 08:43:17 +02:00

12 lines
245 B
C

/*
* This file is distributed under the MIT License. See LICENSE.md for details.
*/
#include <stdlib.h>
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("%d %f %f\n", argc, (float) argc, (float) argc);
return EXIT_SUCCESS;
}