1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s 2 // PR10414 3 4 // The synthetic global made by the CFE for big initializer should be marked 5 // constant. 6 7 void bar(); foo()8void foo() { 9 // CHECK: private unnamed_addr constant 10 char Blah[] = "asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd"; 11 bar(Blah); 12 } 13