Merged from RELEASE_16.
[oota-llvm.git] / test / CFrontend / 2005-02-27-MarkGlobalConstant.c
1 // RUN: %llvmgcc -xc %s -S -o - | grep 'ctor_.* constant '
2
3 // The synthetic global made by the CFE for big initializer should be marked
4 // constant.
5
6 void bar();
7 void foo() {
8   char Blah[] = "asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd";
9   bar(Blah);
10 }