☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
shared-string-literals.c
☽
☼
clang/test/CodeGen/shared-string-literals.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm %s -o %t
2
3
char *globalString = "abc";
4
char *globalStringArray[5] = { "123", "abc" };
5
char *anotherGlobalString = "123";
6
7
int printf(const char *, ...);
8
int main(void) {
9
printf("123");
10
}