clang-1/test/CodeGen/shared-string-literals.c

10 строки
185 B
C

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