[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Headers / float-darwin.c
blob54550f0a66b6856b21dd3becced8dd646935b11e
1 // REQUIRES: system-darwin
2 // RUN: %clang -target x86_64-apple-darwin11 -fsyntax-only -std=c11 -isysroot %S/Inputs %s
3 #include <float.h>
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
10 // Test that definition from builtin are also present.
11 #ifndef FLT_MAX
12 #error "FLT_MAX not defined"
13 #endif