diff options
Diffstat (limited to 'test/std/input.output/file.streams/c.files/gets.fail.cpp')
-rw-r--r-- | test/std/input.output/file.streams/c.files/gets.fail.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/std/input.output/file.streams/c.files/gets.fail.cpp b/test/std/input.output/file.streams/c.files/gets.fail.cpp index 4250e23c11c2..064d72cd9e4a 100644 --- a/test/std/input.output/file.streams/c.files/gets.fail.cpp +++ b/test/std/input.output/file.streams/c.files/gets.fail.cpp @@ -7,17 +7,14 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++98, c++03, c++11 // test <cstdio> -// gets +// gets #include <cstdio> int main() { -#if _LIBCPP_STD_VER > 11 (void) std::gets((char *) NULL); -#else -#error -#endif } |