YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/vla-3.c
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

12 lines
216 B
C

// RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | grep ".*alloca.*align 16"
void adr(char *);
void vlaalign(int size)
{
char __attribute__((aligned(16))) tmp[size+32];
char tmp2[size+16];
adr(tmp);
}