Sign in
llvm
/
clang
/
refs/heads/release_27
/
.
/
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}}
}