blob: 7d3f7c70bb521020a7915638d71d0e262df9d115 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
Steve Naroffdd53eb52009-03-05 20:12:00 +00002
3@interface B
4+(int) classGetter;
5-(int) getter;
6@end
7
8@interface A : B
9@end
10
11@implementation A
12+(int) classGetter {
13 return 0;
14}
15
16+(int) classGetter2 {
17 return super.classGetter;
18}
19
20-(void) method {
21 int x = super.getter;
22}
23@end
24
25void f0() {
26 // FIXME: not implemented yet.
27 //int l1 = A.classGetter;
28 int l2 = [A classGetter2];
29}
30