summaryrefslogtreecommitdiff
path: root/test/FrontendC/vla-2.c
blob: 555cfc789250beb8cf82efec958050a7228c57b7 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc -std=gnu99 %s -S -o - | grep ".*alloca.*align 16"

extern void bar(int[]);

void foo(int a)
{
  int var[a] __attribute__((__aligned__(16)));
  bar(var);
  return;
}