xref: /llvm-project/clang/test/Headers/tgmath-darwin.c (revision 65d83ba34378b8e740c5203fe46a9c50d2aeb862)
1 // REQUIRES: system-darwin
2 // RUN: %clang -target x86_64-apple-darwin11 -fsyntax-only -std=c11 -isysroot %S/Inputs %s
3 #include <tgmath.h>
4 
5 // Test the #include_next of tgmath.h works on Darwin.
6 #ifndef SYS_TGMATH_H
7   #error "SYS_TGMATH_H not defined"
8 #endif
9 
10 #ifndef __CLANG_TGMATH_H
11   #error "__CLANG_TGMATH_H not defined"
12 #endif
13