summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/Inputs/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/elf/Inputs/shared.c')
-rw-r--r--lld/test/elf/Inputs/shared.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/elf/Inputs/shared.c b/lld/test/elf/Inputs/shared.c
index 9bf69f83f6e..a10944fd8d6 100644
--- a/lld/test/elf/Inputs/shared.c
+++ b/lld/test/elf/Inputs/shared.c
@@ -1,5 +1,8 @@
#include <stdio.h>
+extern int i;
+int i = 42;
+
void foo() {
puts("Fooo!!");
}
OpenPOWER on IntegriCloud