13 lines · c
1// REQUIRES: system-darwin2// RUN: %clang -target x86_64-apple-darwin11 -fsyntax-only -std=c11 -isysroot %S/Inputs %s3#include <tgmath.h>4 5// Test the #include_next of tgmath.h works on Darwin.6#ifndef SYS_TGMATH_H7 #error "SYS_TGMATH_H not defined"8#endif9 10#ifndef __CLANG_TGMATH_H11 #error "__CLANG_TGMATH_H not defined"12#endif13