| 1 | // REQUIRES: system-darwin |
|---|---|
| 2 | // RUN: %clang -target x86_64-apple-darwin10 -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 |