diff options
author | Austin Seipp <austin@well-typed.com> | 2014-01-15 19:11:42 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-01-15 19:16:28 -0600 |
commit | dbc4605d203f7a5fa7a7f7783039b2ddc61ba116 (patch) | |
tree | 6586024077323603f46e37bf75055953fe24efab /testsuite/tests/ghci | |
parent | d0ed1ff1185981d2e827a18696f7caa53eef4af3 (diff) | |
download | haskell-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/Makefile | 2 |
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 |