summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/Inputs/use-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/elf/Inputs/use-shared.c')
-rw-r--r--lld/test/elf/Inputs/use-shared.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/test/elf/Inputs/use-shared.c b/lld/test/elf/Inputs/use-shared.c
index 54332356b0b..b370eaa4fac 100644
--- a/lld/test/elf/Inputs/use-shared.c
+++ b/lld/test/elf/Inputs/use-shared.c
@@ -1,5 +1,7 @@
+extern int i;
void foo();
int main() {
foo();
+ return i;
}
OpenPOWER on IntegriCloud