OSDN Git Service

* gcc.dg/vect/vect-reduc-dot-s16b.c: Mark functions noinline.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c99-tgmath-2.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 sin on a float invokes sinf. */
7 #include <tgmath.h>
8
9 float foo(float x)
10 {
11   return sin(x);
12 }
13
14 /* { dg-final { scan-assembler "sinf" } } */