2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-11-19 02:56:09 +08: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
|