Uncomment commented lines, that fail on Mac.

This commit is contained in:
Vassil Vassilev 2013-08-15 23:12:37 +02:00 committed by sftnight
parent 452e98bf46
commit 76c598f0ff

View File

@ -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