blob: 100c79c82bf29116f168df9260ab8c2ec0d6f673 [file] [log] [blame]
Chris Lattnerd8c93162006-04-13 19:46:16 +00001// RUN: %llvmgcc -xc %s -S -o - | grep 'internal constant '
Chris Lattner9e288862005-02-27 18:19:26 +00002
3// The synthetic global made by the CFE for big initializer should be marked
4// constant.
5
6void bar();
7void foo() {
8 char Blah[] = "asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd";
9 bar(Blah);
10}