teak-llvm/clang/test/CodeGen/align-global-large.c
David Majnemer 72f8c5e0c9 Try to make the buildbots happy
This test was missing a triple causing it to error out on windows
targets.  They accept a much smaller alignment value.

llvm-svn: 243234
2015-07-26 02:16:35 +00:00

19 lines
411 B
C

// PR13606 - Clang crashes with large alignment attribute
// RUN: %clang -cc1 -S -emit-llvm %s -o - -triple i686-pc-gnu | FileCheck %s
// CHECK: x
// CHECK: align
// CHECK: 1048576
volatile char x[4000] __attribute__((aligned(0x100000)));
int
main (int argc, char ** argv) {
// CHECK: y
// CHECK: align
// CHECK: 1048576
volatile char y[4000] __attribute__((aligned(0x100000)));
return y[argc];
}