Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-plugin/pr13201.c
2023-03-06 14:48:14 +01:00

17 lines
224 B
C

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
int
main(int argc, char **argv)
{
double x;
if (argc > 1)
x = atof (argv[1]);
else
x = 3;
x = sin (x);
if (x > 0)
printf("OK\n");
return 0;
}