summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/vla-1.c
blob: 76f6c53c1e16fbfe8bd4e159de2f169bffb5409a (plain)
1
2
3
4
5
6
7
8
// RUN: true
// %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;
}
OpenPOWER on IntegriCloud