summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/vla-2.c
blob: 0a74907f7b2db3123e060209519e92b78f9a49a2 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | grep ".*alloca.*align 16"

extern void bar(int[]);

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