xref: /minix3/external/bsd/llvm/dist/clang/test/SemaObjC/no-warn-qual-mismatch.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
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