summaryrefslogtreecommitdiff
path: root/test/FrontendC/vla-3.c
blob: eca9675a419f8e120bbefe51fdf3d8f9cbde9964 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgcc -std=gnu99 %s -S -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);
}