Merge from mainline.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20010405-1.c
blobb4d57a5d8144b1ccfb0d94519cdca82aeca952fb
1 __inline__ double bar(double *x)
3 static double a;
4 a = *x >= 0 ? *x : -*x;
5 return a;
8 int main(void)
10 extern double bar();
11 double a;
12 static double b;
13 int r;
14 for (r = 1; r < 3; r++) {
15 a = 1.0;
16 b = bar(&a);
18 return 0;