☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Sema
/
vla.cpp
☽
☼
clang/test/Sema/vla.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -verify -fsyntax-only -Wno-vla
2
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]')}}
6
}