We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b0386b commit 9875400Copy full SHA for 9875400
libcxx/test/std/input.output/file.streams/c.files/gets-removed.verify.cpp
@@ -12,6 +12,6 @@
12
13
#include <cstdio>
14
15
-void f() {
16
- (void)std::gets((char*)NULL); // expected-error {{no member named 'gets' in namespace 'std'}}
+void f(char const* str) {
+ (void)std::gets(str); // expected-error {{no member named 'gets' in namespace 'std'}}
17
}
0 commit comments