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 <>
parent d0ed1ff1
......@@ -6,6 +6,6 @@ include $(TOP)/mk/
# (sourceforge bug #1073501).
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