Commit dbc4605d authored by Austin Seipp's avatar Austin Seipp

Fix ghciprog004 when built with Clang

Clang warns about implicit return values by default.
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent d0ed1ff1
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment