Steve Naroff | b1c7ad9 | 2007-11-11 00:10:47 +0000 | [diff] [blame] | 1 | // RUN: clang -fsyntax-only -verify %s |
2 | |||||
3 | @interface foo | ||||
4 | - (void)meth; | ||||
5 | @end | ||||
6 | |||||
7 | @implementation foo | ||||
8 | - (void) contents {} // No declaration in @interface! | ||||
Steve Naroff | b82c50f | 2007-11-11 17:19:15 +0000 | [diff] [blame^] | 9 | - (void) meth { [self contents]; } |
Steve Naroff | b1c7ad9 | 2007-11-11 00:10:47 +0000 | [diff] [blame] | 10 | @end |
11 |