blob: 555cfc789250beb8cf82efec958050a7228c57b7 [file] [log] [blame]
Eric Christopher69f1ba82010-07-21 04:51:24 +00001// RUN: %llvmgcc -std=gnu99 %s -S -o - | grep ".*alloca.*align 16"
Eric Christopher83a78032010-07-20 20:32:47 +00002
3extern void bar(int[]);
4
5void foo(int a)
6{
Eric Christopher69f1ba82010-07-21 04:51:24 +00007 int var[a] __attribute__((__aligned__(16)));
Eric Christopher83a78032010-07-20 20:32:47 +00008 bar(var);
9 return;
10}