[cfe-commits] r105222 - /cfe/trunk/test/FixIt/typo.m
Douglas Gregor
dgregor at apple.com
Mon May 31 07:58:57 PDT 2010
Author: dgregor
Date: Mon May 31 09:58:57 2010
New Revision: 105222
URL: http://llvm.org/viewvc/llvm-project?rev=105222&view=rev
Log:
Tweak test for non-64-bit Darwin
Modified:
cfe/trunk/test/FixIt/typo.m
Modified: cfe/trunk/test/FixIt/typo.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/FixIt/typo.m?rev=105222&r1=105221&r2=105222&view=diff
==============================================================================
--- cfe/trunk/test/FixIt/typo.m (original)
+++ cfe/trunk/test/FixIt/typo.m Mon May 31 09:58:57 2010
@@ -24,8 +24,8 @@
int his_ivar; // expected-note 2{{'his_ivar' declared here}}
float wibble;
}
-- (void)method;
-+ (void)method;
+- (void)methodA;
++ (void)methodA;
@property int his_prop; // expected-note{{'his_prop' declared here}}
@end
@@ -41,6 +41,8 @@
@implementation A
@synthesize his_prop = his_ivar;
+- (void)methodA { }
++ (void)methodA { }
@end
@implementation B
@@ -148,7 +150,7 @@
void f(A *a) {
f(a) // expected-error{{expected ';' after expression}}
- [a method] // expected-error{{expected ';' after expression}}
- [A method] // expected-error{{expected ';' after expression}}
+ [a methodA] // expected-error{{expected ';' after expression}}
+ [A methodA] // expected-error{{expected ';' after expression}}
}
More information about the cfe-commits
mailing list