Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / cxx2a-for-init-statement.cpp
blob2147c0f8a2a17951cb3bbb28ab1250b688c2c40c
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
4 void f() {
5 // CHECK: for (int arr[3]; int n : arr) {
6 // CHECK-NEXT: }
7 for (int arr[3]; int n : arr) {}