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
10 - (void)test:(NSString *)string;
12 @property (copy) NSString *property;
19 NSString *a = "Foo"; // expected-error {{string literal must be prefixed by '@'}}
20 g("Foo"); // expected-error {{string literal must be prefixed by '@'}}
21 [t test:"Foo"]; // expected-error {{string literal must be prefixed by '@'}}
22 t.property = "Foo"; // expected-error {{string literal must be prefixed by '@'}}