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