Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Sema / vla.cpp
blobd4f74d8c14edf17d9ab7542cd27c82335d24a518
1 // RUN: %clang_cc1 %s -verify -fsyntax-only -Wno-vla
3 void f1(int n) {
4 typedef int x[n];
5 const x y; // expected-error {{default initialization of an object of const type 'const x' (aka 'const int[n]')}}