[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaObjC / no-warn-qual-mismatch.m
blob9638da46c18fab264944e08d8207e9430cef2f90
1 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
3 // radar 7211563
5 @interface X
7 + (void)prototypeWithScalar:(int)aParameter;
8 + (void)prototypeWithPointer:(void *)aParameter;
10 @end
12 @implementation X
14 + (void)prototypeWithScalar:(const int)aParameter {}
15 + (void)prototypeWithPointer:(void * const)aParameter {}
17 @end