llvm-project/clang/test/CodeGen/shared-string-literals.c

10 lines
174 B
C

// RUN: clang -emit-llvm %s
char *globalString = "abc";
char *globalStringArray[5] = { "123", "abc" };
char *anotherGlobalString = "123";
int main() {
printf("123");
}