summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.c.headers
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-10-09 01:29:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-10-09 01:29:09 +0000
commitd32827408e9af920ab62061fe179d8bc80f22f1e (patch)
tree4bb5ed6ee409531b863b281c3f185627703963b7 /libcxx/test/std/depr/depr.c.headers
parentba77cd2737c7b03725c6fa6fa4e1058eda10591f (diff)
downloadbcm5719-llvm-d32827408e9af920ab62061fe179d8bc80f22f1e.tar.gz
bcm5719-llvm-d32827408e9af920ab62061fe179d8bc80f22f1e.zip
Split <stdio.h> out of <cstdio>.
As with <stddef.h>, skip our custom header if __need_FILE or __need___FILE is defined. llvm-svn: 249798
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers')
-rw-r--r--libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp
index ba6714ddfb1..3c5dd0ebf0e 100644
--- a/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp
+++ b/libcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp
@@ -13,6 +13,26 @@
#include <type_traits>
#include "test_macros.h"
+#ifdef getc
+#error getc is defined
+#endif
+
+#ifdef putc
+#error putc is defined
+#endif
+
+#ifdef clearerr
+#error clearerr is defined
+#endif
+
+#ifdef feof
+#error feof is defined
+#endif
+
+#ifdef ferror
+#error ferror is defined
+#endif
+
#ifndef BUFSIZ
#error BUFSIZ not defined
#endif
OpenPOWER on IntegriCloud