Sign in
llvm
/
llvm-project
/
clang
/
54fe6eb72203349434b54d4aeccff0b1bfe2f8d7
/
.
/
test
/
Sema
/
vla.cpp
blob: b4416a07cf0eedb56d27d16b0b6bae5a1b8d5efb [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -verify -fsyntax-only
void
f1
(
int
n
)
{
typedef
int
x
[
n
];
const
x y
;
// expected-error {{default initialization of an object of const type 'const x' (aka 'const int [n]')}}
}