Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaObjC / no-warn-qual-mismatch.m
blobd7961049c94d02eab9ebb0f1d6c6e5ed1eeef008
1 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
4 @interface X
6 + (void)prototypeWithScalar:(int)aParameter;
7 + (void)prototypeWithPointer:(void *)aParameter;
9 @end
11 @implementation X
13 + (void)prototypeWithScalar:(const int)aParameter {}
14 + (void)prototypeWithPointer:(void * const)aParameter {}
16 @end