fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git] / test / FrontendC / 2004-03-07-ExternalConstant.c
blob4a9094bdf3444ff30255b18cdf44a502af834dc6
1 // RUN: %llvmgcc -xc %s -S -o - | grep constant
3 extern const int a[]; // 'a' should be marked constant even though it's external!
4 int foo () {
5 return a[0];