llvm-6502/test/FrontendC/vla-1.c
2010-07-21 04:54:06 +00:00

8 lines
148 B
C

// RUN: not %llvmgcc -std=gnu99 %s -S |& grep "error: alignment for"
int foo(int a)
{
int var[a] __attribute__((__aligned__(32)));
return 4;
}