Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | grep ".*alloca.*align 16" |
2 | |||||
3 | void adr(char *); | ||||
4 | |||||
5 | void vlaalign(int size) | ||||
6 | { | ||||
7 | char __attribute__((aligned(16))) tmp[size+32]; | ||||
8 | char tmp2[size+16]; | ||||
9 | |||||
10 | adr(tmp); | ||||
11 | } |