blob: 73b56711e388f70d9c012e36c8862b2bbc155881 [file] [log] [blame]
Fariborz Jahanian1147c5e2009-12-14 17:36:25 +00001// RUN: clang -cc1 -fsyntax-only -verify %s
Fariborz Jahanian3393f812009-11-18 18:56:09 +00002// 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