repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
PCH
/
cxx2a-for-init-statement.cpp
blob
2147c0f8a2a17951cb3bbb28ab1250b688c2c40c
1
// RUN: %clang_cc1 -emit-pch -std=c++2a -o %t %s
2
// RUN: %clang_cc1 -std=c++2a -x ast -ast-print %t | FileCheck %s
3
4
void
f
() {
5
// CHECK: for (int arr[3]; int n : arr) {
6
// CHECK-NEXT: }
7
for
(
int
arr
[
3
];
int
n
:
arr
) {}
8
}