summaryrefslogtreecommitdiff
path: root/clang/test/FixIt/typo-crash.m
blob: f10fe61ae78e78b1bb6b38c47897b7ed9a8defa5 (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -fsyntax-only -verify %s

// <rdar://problem/7605289>
@implementation Unknown (Blarg) // expected-error{{cannot find interface declaration for 'Unknown'}}
- (int)method { return ivar; } // expected-error{{use of undeclared identifier 'ivar'}}
@end