1 // RUN: %clang_cc1 -pedantic -verify %s
3 // RUN: not %clang_cc1 -pedantic -fobjc-arc -fixit -x objective-c %t
4 // RUN: %clang_cc1 -pedantic -fobjc-arc -Werror -x objective-c %t
11 - (void)test:(NSString *)string;
13 @property (copy) NSString *property;
20 NSString *a = "Foo"; // expected-error {{string literal must be prefixed by '@'}}
21 g("Foo"); // expected-error {{string literal must be prefixed by '@'}}
22 [t test:"Foo"]; // expected-error {{string literal must be prefixed by '@'}}
23 t.property = "Foo"; // expected-error {{string literal must be prefixed by '@'}}