summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/exprs.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/exprs.m')
-rw-r--r--test/SemaObjC/exprs.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/exprs.m b/test/SemaObjC/exprs.m
index 13c34e5..d7c1223 100644
--- a/test/SemaObjC/exprs.m
+++ b/test/SemaObjC/exprs.m
@@ -9,12 +9,12 @@ Class test1(Class X) {
// rdar://6079877
void test2() {
id str = @"foo"
- "bar\0" // expected-warning {{literal contains NUL character}}
+ "bar\0" // no-warning
@"baz" " blarg";
id str2 = @"foo"
"bar"
@"baz"
- " b\0larg"; // expected-warning {{literal contains NUL character}}
+ " b\0larg"; // no-warning
if (@encode(int) == "foo") { } // expected-warning {{result of comparison against @encode is unspecified}}
OpenPOWER on IntegriCloud