]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/vla-3.c
Vendor import of clang trunk r238337:
[FreeBSD/FreeBSD.git] / test / CodeGen / vla-3.c
1 // RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
2 // CHECK: alloca {{.*}}, align 16
3
4 void adr(char *);
5
6 void vlaalign(int size)
7 {
8     char __attribute__((aligned(16))) tmp[size+32];
9     char tmp2[size+16];
10
11     adr(tmp);
12 }