aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-10-26 18:25:19 +0000
committerDouglas Gregor <dgregor@apple.com>2010-10-26 18:25:19 +0000
commit808bedfd8cf18146bde5a181862375f1b1d261af (patch)
tree318e31b8b135b873d346cd4a3c5458a808cf0ff2
parentbddf8ebd793c06fced4aad5a082882a997f7f0e8 (diff)
Something is seriously wonky with this test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117381 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/FixIt/typo.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/FixIt/typo.m b/test/FixIt/typo.m
index 3be3c00db6..9a25a026e5 100644
--- a/test/FixIt/typo.m
+++ b/test/FixIt/typo.m
@@ -157,8 +157,12 @@ void f(A *a) {
}
#ifdef NON_FIXITS
-@implementation Sub2
-- (int)method2 {
+@interface Sub3 : Super
+- (int)method3;
+@end
+
+@implementation Sub3
+- (int)method3 {
int x = super; // expected-note{{use of undeclared identifier 'super'; did you mean 'Super'?}}
return 0;
}