summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/c.files/gets.fail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/c.files/gets.fail.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/c.files/gets.fail.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcxx/test/std/input.output/file.streams/c.files/gets.fail.cpp b/libcxx/test/std/input.output/file.streams/c.files/gets.fail.cpp
index 4250e23c11c..60a7642733e 100644
--- a/libcxx/test/std/input.output/file.streams/c.files/gets.fail.cpp
+++ b/libcxx/test/std/input.output/file.streams/c.files/gets.fail.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+// UNSUPPORTED: c++98, c++03, c++11
// test <cstdio>
// gets
@@ -15,9 +16,5 @@
int main()
{
-#if _LIBCPP_STD_VER > 11
(void) std::gets((char *) NULL);
-#else
-#error
-#endif
}
OpenPOWER on IntegriCloud