Keep the source location of the selector in ObjCMessageExpr.
[clang.git] / test / SemaObjC / super-property-notation.m
blob7d3f7c70bb521020a7915638d71d0e262df9d115
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 @interface B
4 +(int) classGetter;
5 -(int) getter;
6 @end
8 @interface A : B
9 @end
11 @implementation A
12 +(int) classGetter {
13   return 0;
16 +(int) classGetter2 {
17   return super.classGetter;
20 -(void) method {
21   int x = super.getter;
23 @end
25 void f0() {
26   // FIXME: not implemented yet.
27   //int l1 = A.classGetter;
28   int l2 = [A classGetter2];