summaryrefslogtreecommitdiff
path: root/test/Headers/tgmath-darwin.c
blob: 916605a718ab319edb4c4964292a1de937d1d58f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// REQUIRES: system-darwin
// RUN: %clang -target x86_64-apple-darwin10 -fsyntax-only -std=c11 -isysroot %S/Inputs %s
#include <tgmath.h>

// Test the #include_next of tgmath.h works on Darwin.
#ifndef SYS_TGMATH_H
  #error "SYS_TGMATH_H not defined"
#endif

#ifndef __CLANG_TGMATH_H
  #error "__CLANG_TGMATH_H not defined"
#endif