OSDN Git Service

* gcc.dg/pr31344.c: Move to ...
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c99-tgmath-4.c
1 /* Test for <tgmath.h> in C99. */
2 /* Origin: Matt Austern <austern@apple.com>
3 /* { dg-do compile } */
4 /* { dg-options "-std=iso9899:1999" } */
5
6 /* Test that invoking type-generic pow on complex float invokes cpowf. */
7 #include <tgmath.h>
8
9 complex double foo(complex float x, float y)
10 {
11   return pow(x, y);
12 }
13
14 /* { dg-final { scan-assembler "cpowf" } } */