diff options
Diffstat (limited to 'test/SemaObjC/property-in-class-extension.m')
-rw-r--r-- | test/SemaObjC/property-in-class-extension.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/property-in-class-extension.m b/test/SemaObjC/property-in-class-extension.m index 6ae0b81..a7b5130 100644 --- a/test/SemaObjC/property-in-class-extension.m +++ b/test/SemaObjC/property-in-class-extension.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s // rdar://7766184 @interface Foo @end @@ -9,7 +9,7 @@ void FUNC () { Foo *foo; - foo.bar = 0; // expected-error {{assigning to property with 'readonly' attribute not allowed}} + foo.bar = 0; // expected-error {{assignment to readonly property}} } // rdar://8747333 |