Mercurial > hg > CbC > CbC_llvm
annotate clang/test/SemaObjC/no-warn-qual-mismatch.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 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 |