2015-01-25 01:39:36 +08:00
|
|
|
// RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
|
|
|
|
// CHECK: alloca {{.*}}, align 16
|
2011-07-27 06:17:02 +08:00
|
|
|
|
|
|
|
void adr(char *);
|
|
|
|
|
|
|
|
void vlaalign(int size)
|
|
|
|
{
|
|
|
|
char __attribute__((aligned(16))) tmp[size+32];
|
|
|
|
char tmp2[size+16];
|
|
|
|
|
|
|
|
adr(tmp);
|
|
|
|
}
|