summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-01-15 19:11:42 -0600
committerAustin Seipp <austin@well-typed.com>2014-01-15 19:16:28 -0600
commitdbc4605d203f7a5fa7a7f7783039b2ddc61ba116 (patch)
tree6586024077323603f46e37bf75055953fe24efab /testsuite/tests/ghci
parentd0ed1ff1185981d2e827a18696f7caa53eef4af3 (diff)
downloadhaskell-dbc4605d203f7a5fa7a7f7783039b2ddc61ba116.tar.gz
Fix ghciprog004 when built with Clang
Clang warns about implicit return values by default. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'testsuite/tests/ghci')
-rw-r--r--testsuite/tests/ghci/prog004/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/prog004/Makefile b/testsuite/tests/ghci/prog004/Makefile
index 61631fcd48..49e1f5d25d 100644
--- a/testsuite/tests/ghci/prog004/Makefile
+++ b/testsuite/tests/ghci/prog004/Makefile
@@ -6,6 +6,6 @@ include $(TOP)/mk/test.mk
# (sourceforge bug #1073501).
ghciprog004:
rm -f ctest.o
- echo "int foo(){}" >ctest.c
+ echo "int foo(){return 0;}" >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