You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
372 B
14 lines
372 B
4 months ago
|
// REQUIRES: system-darwin
|
||
|
// RUN: %clang -target x86_64-apple-darwin10 -fsyntax-only -std=c11 -isysroot %S/Inputs %s
|
||
|
#include <float.h>
|
||
|
|
||
|
// Test the #include_next on float.h works on Darwin.
|
||
|
#ifndef FLT_HAS_SUBNORM
|
||
|
#error "FLT_HAS_SUBNORM not defined"
|
||
|
#endif
|
||
|
|
||
|
// Test that definition from builtin are also present.
|
||
|
#ifndef FLT_MAX
|
||
|
#error "FLT_MAX not defined"
|
||
|
#endif
|