diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-10-09 01:41:45 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-10-09 01:41:45 +0000 |
commit | a51c8eee6eb337ae5e619ae25a501806897f13e7 (patch) | |
tree | 6af4a5e10ea2ed5b1a1f62cc43710fdad977cd84 /libcxx/test | |
parent | 8da160173c17c201d2d3b52cdd7feea281495140 (diff) | |
download | bcm5719-llvm-a51c8eee6eb337ae5e619ae25a501806897f13e7.tar.gz bcm5719-llvm-a51c8eee6eb337ae5e619ae25a501806897f13e7.zip |
Split <stdlib.h> out of <cstdlib>.
llvm-svn: 249800
Diffstat (limited to 'libcxx/test')
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp index 046ec94f71e..96d1143d4de 100644 --- a/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp @@ -18,6 +18,30 @@ #pragma clang diagnostic ignored "-Wnonnull" #endif +#ifdef abs +#error abs is defined +#endif + +#ifdef labs +#error labs is defined +#endif + +#ifdef llabs +#error llabs is defined +#endif + +#ifdef div +#error div is defined +#endif + +#ifdef ldiv +#error ldiv is defined +#endif + +#ifdef lldiv +#error lldiv is defined +#endif + #ifndef EXIT_FAILURE #error EXIT_FAILURE not defined #endif |