Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / align-global-large.c
blobe53323f65f527e3ad7bc3d2f92edb8b24f9369b3
1 // PR13606 - Clang crashes with large alignment attribute
2 // RUN: %clang_cc1 -S -emit-llvm %s -o - -triple i686-pc-gnu | FileCheck %s
4 // CHECK: x
5 // CHECK: align
6 // CHECK: 1048576
7 volatile char x[4000] __attribute__((aligned(0x100000)));
9 int
10 main (int argc, char ** argv) {
11 // CHECK: y
12 // CHECK: align
13 // CHECK: 1048576
14 volatile char y[4000] __attribute__((aligned(0x100000)));
16 return y[argc];