2012-04-14 14:01:31 +00:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
|
2012-12-02 13:20:44 +00:00
|
|
|
// expected-no-diagnostics
|
2009-11-19 09:00:00 +00:00
|
|
|
// radar 7211563
|
|
|
|
|
|
|
|
@interface X
|
|
|
|
|
|
|
|
+ (void)prototypeWithScalar:(int)aParameter;
|
|
|
|
+ (void)prototypeWithPointer:(void *)aParameter;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation X
|
|
|
|
|
|
|
|
+ (void)prototypeWithScalar:(const int)aParameter {}
|
|
|
|
+ (void)prototypeWithPointer:(void * const)aParameter {}
|
|
|
|
|
|
|
|
@end
|