Debian Codegraph @

clang/test/SemaObjC/no-warn-qual-mismatch.m

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
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