summaryrefslogtreecommitdiffstats
path: root/test/std/depr/depr.c.headers/stdio_h.pass.cpp
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
commitff7ba4da7d1aa92c8e9e8942d90eccc20bc63a35 (patch)
tree1859611853c9badb15ece47401129abe13a1cb9b /test/std/depr/depr.c.headers/stdio_h.pass.cpp
parent45bae0b7dca0a4e2056f49f15bd4cc3d21ff2b63 (diff)
downloadexternal_libcxx-ff7ba4da7d1aa92c8e9e8942d90eccc20bc63a35.tar.gz
external_libcxx-ff7ba4da7d1aa92c8e9e8942d90eccc20bc63a35.tar.bz2
external_libcxx-ff7ba4da7d1aa92c8e9e8942d90eccc20bc63a35.zip
Split <stdio.h> out of <cstdio>.
As with <stddef.h>, skip our custom header if __need_FILE or __need___FILE is defined. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@249798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/std/depr/depr.c.headers/stdio_h.pass.cpp')
-rw-r--r--test/std/depr/depr.c.headers/stdio_h.pass.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/std/depr/depr.c.headers/stdio_h.pass.cpp b/test/std/depr/depr.c.headers/stdio_h.pass.cpp
index ba6714ddf..3c5dd0ebf 100644
--- a/test/std/depr/depr.c.headers/stdio_h.pass.cpp
+++ b/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