Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
test
/
Sema
/
vla.c
blob: c1e0e20e63af43f0f912f8fa2660572950168fdf [
file
] [
log
] [
blame
]
// RUN: clang %s -verify -fsyntax-only
int
test1
()
{
typedef
int
x
[
test1
()];
// vla
static
int
y
=
sizeof
(
x
);
// expected-error {{not constant}}
}