diff options
| -rw-r--r-- | clang/test/FixIt/typo.m | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/FixIt/typo.m b/clang/test/FixIt/typo.m index 3be3c00db6b..9a25a026e56 100644 --- a/clang/test/FixIt/typo.m +++ b/clang/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; } |

