summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/pr13201.c
blob: 3bea10c813cc2f0eef306420ff3070319d992aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
}