ghc/tests/smoke/runtest.sh

7 lines
75 B
Bash
Executable File

#!/bin/sh
set -e
echo 'main = return ()' > test.hs
ghc test.hs && ./test