mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
eb251be031
formerly rejected by the FE, so asserted in the BE; now the FE only warns, so we treat it as a legitimate fatal error in PPC BE. This means the test for the feature won't pass, so it's xfail'd. llvm-svn: 109892
10 lines
242 B
C
10 lines
242 B
C
// 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;
|
|
}
|