diff options
author | Louis Dionne <ldionne@apple.com> | 2018-08-14 13:29:17 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2018-08-14 13:29:17 +0000 |
commit | 5bd88cf7ddc3342c1a17578aa550e21383b4d079 (patch) | |
tree | 261fd6df7f594176d13e947d85bf9c00cd7b7211 /libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp | |
parent | 30e61404a8944d4d69c76a17404c4bf17f8c607e (diff) | |
download | bcm5719-llvm-5bd88cf7ddc3342c1a17578aa550e21383b4d079.tar.gz bcm5719-llvm-5bd88cf7ddc3342c1a17578aa550e21383b4d079.zip |
[libc++] Add missing #include in C11 features tests
Summary:
These #includes are quite important, since otherwise any
#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES)
checks are always false, and so we don't actually test for C11 support
in the standard library.
Reviewers: mclow.lists, EricWF
Subscribers: christof, dexonsmith, cfe-commits
Differential Revision: https://reviews.llvm.org/D50674
llvm-svn: 339675
Diffstat (limited to 'libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp')
-rw-r--r-- | libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp b/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp index 6e399d0934b..5313ad37f73 100644 --- a/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp @@ -11,6 +11,8 @@ #include <cfloat> +#include "test_macros.h" + #ifndef FLT_ROUNDS #error FLT_ROUNDS not defined #endif |