summaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2005-02-27-MarkGlobalConstant.c
blob: 4d24d0c673172cb52a185b89a149ab9368d8c17f (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc -xc %s -S -o - | grep {internal constant }

// The synthetic global made by the CFE for big initializer should be marked
// constant.

void bar();
void foo() {
  char Blah[] = "asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd";
  bar(Blah);
}