Clang Project

clang_source_code/test/Headers/float-darwin.c
1// REQUIRES: system-darwin
2// RUN: %clang -target x86_64-apple-darwin10 -fsyntax-only -std=c11 -isysroot %S/Inputs %s
3#include <float.h>
4
5// Test the #include_next on float.h works on Darwin.
6#ifndef FLT_HAS_SUBNORM
7  #error "FLT_HAS_SUBNORM not defined"
8#endif
9
10// Test that definition from builtin are also present.
11#ifndef FLT_MAX
12  #error "FLT_MAX not defined"
13#endif
14