From 808bedfd8cf18146bde5a181862375f1b1d261af Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 26 Oct 2010 18:25:19 +0000 Subject: [PATCH] Something is seriously wonky with this test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117381 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FixIt/typo.m | 8 ++++++-- 1 file 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; } -- 2.40.0