summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog004/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/prog004/Makefile')
-rw-r--r--testsuite/tests/ghci/prog004/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/prog004/Makefile b/testsuite/tests/ghci/prog004/Makefile
new file mode 100644
index 0000000000..61631fcd48
--- /dev/null
+++ b/testsuite/tests/ghci/prog004/Makefile
@@ -0,0 +1,11 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+# Test that we can load a C object compiled with -g into GHCi.
+# (sourceforge bug #1073501).
+ghciprog004:
+ rm -f ctest.o
+ echo "int foo(){}" >ctest.c
+ '$(TEST_HC)' $(TEST_HC_OPTS) -optc-g -c ctest.c
+ echo ":q" | '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --interactive -ignore-dot-ghci ctest.o