Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / c99-tgmath-4.c
blobc05a1c59ebcaacb8b59095cf66c5dc60a096f6f8
1 /* Test for <tgmath.h> in C99. */
2 /* Origin: Matt Austern <austern@apple.com>
3 /* { dg-do compile { target c99_runtime } } */
4 /* { dg-options "-std=iso9899:1999" } */
5 /* { dg-add-options c99_runtime } */
6 /* { dg-require-effective-target tgmath_h } */
8 /* Test that invoking type-generic pow on complex float invokes cpowf. */
9 #include <tgmath.h>
11 complex double foo(complex float x, float y)
13 return pow(x, y);
16 /* { dg-final { scan-assembler "cpowf" } } */