brintos

brintos / llvm-project-archived public Read only

0
0
Text · 326 B · 9028a5a Raw
13 lines · c
1// RUN: %clang_cc1  %s -emit-llvm -o - | FileCheck %s2// PR104143 4// The synthetic global made by the CFE for big initializer should be marked5// constant.6 7void bar(char *);8void foo(void) {9  // CHECK: private unnamed_addr constant10  char Blah[] = "asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd";11  bar(Blah);12}13