Mercurial > hg > CbC > CbC_llvm
comparison clang/test/Parser/objc-foreach-syntax.m @ 221:79ff65ed7e25
LLVM12 Original
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Jun 2021 19:15:29 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
220:42394fc6a535 | 221:79ff65ed7e25 |
---|---|
19 } | 19 } |
20 @end | 20 @end |
21 | 21 |
22 | 22 |
23 static int test7(id keys) { | 23 static int test7(id keys) { |
24 for (id key; in keys) ; // expected-error {{use of undeclared identifier 'in'}} | 24 // FIXME: would be nice to suppress the secondary diagnostics. |
25 for (id key; in keys) ; // expected-error {{use of undeclared identifier 'in'}} \ | |
26 // expected-error {{expected ';' in 'for' statement specifier}} \ | |
27 // expected-warning {{expression result unused}} | |
25 } | 28 } |