Sign in
llvm
/
clang
/
1571f048734190c5ed03d1a6083e579ec7b5801f
/
.
/
test
/
SemaCXX
/
c99.cpp
blob: f4c3639e16a905d04b88b7ef421a692aa3d83293 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
void
f0
(
int
i
)
{
char
array
[
i
];
// expected-error{{variable length arrays}}
}
void
f1
(
int
i
[
static
5
])
{
// expected-error{{C99}}
}