aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-31 14:58:57 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-31 14:58:57 +0000
commitde037c2bc288f9bbf5091a34f7d9f2dd98cd7df2 (patch)
tree37ddd635b155eff84d678326aac07c4150f694b1
parent1b730e847ded503f2e615154035c083c4f94a067 (diff)
Tweak test for non-64-bit Darwin
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105222 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/FixIt/typo.m10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/FixIt/typo.m b/test/FixIt/typo.m
index 8a9b4c804c..6853ab693a 100644
--- a/test/FixIt/typo.m
+++ b/test/FixIt/typo.m
@@ -24,8 +24,8 @@ void test() {
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 @@ void test() {
@implementation A
@synthesize his_prop = his_ivar;
+- (void)methodA { }
++ (void)methodA { }
@end
@implementation B
@@ -148,7 +150,7 @@ double *isupper(int);
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}}
}