minix/external/bsd/llvm/dist/clang/test/CodeGen/shared-string-literals.c

10 lines
185 B
C
Raw Normal View History

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