]> granicus.if.org Git - clang/commitdiff
Something is seriously wonky with this test
authorDouglas Gregor <dgregor@apple.com>
Tue, 26 Oct 2010 18:25:19 +0000 (18:25 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 26 Oct 2010 18:25:19 +0000 (18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117381 91177308-0d34-0410-b5e6-96231b3b80d8

test/FixIt/typo.m

index 3be3c00db6b1f7b6ca3d8048f8aacf49e3141f34..9a25a026e56e05c95aa06a0850175bfc5feacb92 100644 (file)
@@ -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;
 }