From a51c8eee6eb337ae5e619ae25a501806897f13e7 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 9 Oct 2015 01:41:45 +0000 Subject: Split out of . llvm-svn: 249800 --- .../test/std/depr/depr.c.headers/stdlib_h.pass.cpp | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'libcxx/test') 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 -- cgit v1.2.1