summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/linking/T15729.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/linking/T15729.c')
-rw-r--r--testsuite/tests/ghci/linking/T15729.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/linking/T15729.c b/testsuite/tests/ghci/linking/T15729.c
new file mode 100644
index 0000000000..67cc6cd173
--- /dev/null
+++ b/testsuite/tests/ghci/linking/T15729.c
@@ -0,0 +1,4 @@
+int readBss(int i) {
+ static int bss[1 << 20];
+ return bss[i];
+}