aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}