summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/vla-1.c
blob: 77f78a5e3af743da66888961a15f472adc2ba3a1 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %llvmgcc_only -std=gnu99 %s -S |& grep {warning: alignment for}
// ppc does not support this feature, and gets a fatal error at runtime.
// XFAIL: powerpc

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