1 // PR13606 - Clang crashes with large alignment attribute 2 // RUN: %clang -S -emit-llvm %s -o - | FileCheck %s 3 4 // CHECK: x 5 // CHECK: align 6 // CHECK: 1048576 7 volatile char x[4000] __attribute__((aligned(0x100000))); 8 9 int main(int argc,char ** argv)10main (int argc, char ** argv) { 11 // CHECK: y 12 // CHECK: align 13 // CHECK: 1048576 14 volatile char y[4000] __attribute__((aligned(0x100000))); 15 16 return y[argc]; 17 } 18 19