Fariborz Jahanian | 1147c5e | 2009-12-14 17:36:25 +0000 | [diff] [blame] | 1 | // RUN: clang -cc1 -fsyntax-only -verify %s |
Fariborz Jahanian | 3393f81 | 2009-11-18 18:56:09 +0000 | [diff] [blame] | 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 |