Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / shared-string-literals.c
blob555cfc87cab7bfbf029418dd408ef52952b5b96c
1 // RUN: %clang_cc1 -emit-llvm %s -o %t
3 char *globalString = "abc";
4 char *globalStringArray[5] = { "123", "abc" };
5 char *anotherGlobalString = "123";
7 int printf(const char *, ...);
8 int main(void) {
9 printf("123");