OSDN Git Service

Index: gcc/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c99-tgmath-3.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 exp on a complex invokes cexp. */
7 #include <tgmath.h>
8
9 complex double foo(complex double x)
10 {
11   return exp(x);
12 }
13
14 /* {dg-final {scan-assembler "cexp" } } */