]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.dg/c99-tgmath-3.c
Index: gcc/ChangeLog
[gcc.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" } } */
This page took 0.035358 seconds and 5 git commands to generate.