]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/c99-tgmath-3.c
Remove obsolete Tru64 UNIX V5.1B support
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / c99-tgmath-3.c
CommitLineData
1617e5ee
GK
1/* Test for <tgmath.h> in C99. */
2/* Origin: Matt Austern <austern@apple.com>
da2ce74a 3/* { dg-do compile { target c99_runtime } } */
1617e5ee 4/* { dg-options "-std=iso9899:1999" } */
da2ce74a 5/* { dg-add-options c99_runtime } */
1617e5ee
GK
6
7/* Test that invoking type-generic exp on a complex invokes cexp. */
8#include <tgmath.h>
9
10complex double foo(complex double x)
11{
12 return exp(x);
13}
14
935cb9ac 15/* { dg-final { scan-assembler "cexp" } } */