Uncomment commented lines, that fail on Mac.
This commit is contained in:
parent
452e98bf46
commit
76c598f0ff
@ -3,9 +3,9 @@
|
||||
// XFAIL: *
|
||||
#include <string.h>
|
||||
char *p = 0;
|
||||
//strcmp("a", p); // expected-warning {{you are about to dereference null ptr, which probably will lead to seg violation. Do you want to proceed?[y/n]}}
|
||||
strcmp("a", p); // expected-warning {{you are about to dereference null ptr, which probably will lead to seg violation. Do you want to proceed?[y/n]}}
|
||||
|
||||
//strcmp(p, "a"); // expected-warning {{you are about to dereference null ptr, which probably will lead to seg violation. Do you want to proceed?[y/n]}}
|
||||
strcmp(p, "a"); // expected-warning {{you are about to dereference null ptr, which probably will lead to seg violation. Do you want to proceed?[y/n]}}
|
||||
|
||||
extern "C" int printf(const char* fmt, ...);
|
||||
.rawInput 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user