blob: e599e9da016a59c133a47751fd72b0dd0501220c [file] [log] [blame]
Chris Lattner8a934232008-03-31 00:36:02 +00001// RUN: clang %s -fsyntax-only -verify
2
3@interface Test {
4 int x;
5}
6
7-(void) setX: (int) d;
8@end
9
10extern struct foo x;
11
12@implementation Test
13
14-(void) setX: (int) n {
15 x = n;
16}
17
18@end