freebsd-nq/test/CodeGen/sizeof-vla.c
2009-06-02 17:58:47 +00:00

14 lines
183 B
C

// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
// PR3442
static void *g(unsigned long len);
void
f(int n)
{
unsigned begin_set[n];
g(sizeof(begin_set));
}