diff options
Diffstat (limited to 'test/Parser/check-syntax-1.m')
-rw-r--r-- | test/Parser/check-syntax-1.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Parser/check-syntax-1.m b/test/Parser/check-syntax-1.m index 085ff4c..db37793 100644 --- a/test/Parser/check-syntax-1.m +++ b/test/Parser/check-syntax-1.m @@ -11,9 +11,7 @@ typedef float CGFloat; // rdar: // 7822196 @interface A -(void) x; // expected-error {{method type specifier must start with '-' or '+'}} \ - // expected-warning {{type specifier missing, defaults to 'int' [-Wimplicit-int]}} \ - // expected-error {{cannot declare variable inside @interface or @protocol}} +(void) x; // expected-error {{method type specifier must start with '-' or '+'}} (int)im; // expected-error {{method type specifier must start with '-' or '+'}} \ - ok; @end |