llvm-project/clang/test/CodeGen/vla-3.c

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);
}