Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
      2 // radar 7211563
      3 
      4 @interface X
      5 
      6 + (void)prototypeWithScalar:(int)aParameter;
      7 + (void)prototypeWithPointer:(void *)aParameter;
      8 
      9 @end
     10 
     11 @implementation X
     12 
     13 + (void)prototypeWithScalar:(const int)aParameter {}
     14 + (void)prototypeWithPointer:(void * const)aParameter {}
     15 
     16 @end
     17