Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f6cde77d7bc34bbee26b086ff192637af8e9da59
/
.
/
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}}
}