summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/Inputs/globalconst.c
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/elf/Inputs/globalconst.c')
-rw-r--r--lld/test/elf/Inputs/globalconst.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/test/elf/Inputs/globalconst.c b/lld/test/elf/Inputs/globalconst.c
new file mode 100644
index 00000000000..08395a88e7c
--- /dev/null
+++ b/lld/test/elf/Inputs/globalconst.c
@@ -0,0 +1,2 @@
+/* compile the code with -fmerge-all-constants */
+const char mystr[] = "foobar";
OpenPOWER on IntegriCloud