[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr19402-1.c
blob866ac63cb7e961bf04154df1338f8036f81a875f
1 /* { dg-do compile } */
2 /* { dg-options "" } */
4 float test_powif(float x)
6 return __builtin_powif(x, -1)
7 + __builtin_powif(x, 0)
8 + __builtin_powif(x, 1)
9 + __builtin_powif(x, 2);
12 double test_powi(double x)
14 return __builtin_powi(x, -1)
15 + __builtin_powi(x, 0)
16 + __builtin_powi(x, 1)
17 + __builtin_powi(x, 2);
20 long double test_powil(long double x)
22 return __builtin_powil(x, -1)
23 + __builtin_powil(x, 0)
24 + __builtin_powil(x, 1)
25 + __builtin_powil(x, 2);
28 /* { dg-final { scan-assembler-not "__builtin_" } } */