aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/shared-string-literals.c
blob: 00636b0f55aa2081590d90c20abd0f30c3614978 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -emit-llvm %s -o %t

char *globalString = "abc";
char *globalStringArray[5] = { "123", "abc" };
char *anotherGlobalString = "123";

int main() {
    printf("123");
}