[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / clang / test / CodeGen / align-global-large.c
blob14b068e8f60d0e3f1140a7d61e357cb1f65d50e7
1 // PR13606 - Clang crashes with large alignment attribute
2 // RUN: %clang_cc1 -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];