diff --git a/libcxx/test/std/input.output/file.streams/c.files/gets-removed.verify.cpp b/libcxx/test/std/input.output/file.streams/c.files/gets-removed.verify.cpp index 281ef37e92d27..fb49375a21baa 100644 --- a/libcxx/test/std/input.output/file.streams/c.files/gets-removed.verify.cpp +++ b/libcxx/test/std/input.output/file.streams/c.files/gets-removed.verify.cpp @@ -12,6 +12,6 @@ #include -void f(char const* str) { +void f(char* str) { (void)std::gets(str); // expected-error {{no member named 'gets' in namespace 'std'}} }