aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/vla-1.c
blob: e290349cd156401469b55ab00bf6790453579261 (plain)
1
2
3
4
5
6
7
// RUN: %llvmgcc -std=gnu99 %s -S |& grep {error: "is greater than the stack alignment" } 

int foo(int a)
{
  int var[a] __attribute__((__aligned__(32)));
  return 4;
}