blob: 9aa7c07fa58a335318febc4a3d9800077aee9b25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
T7962:
'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "return ("
T9905fail1:
'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "import This.Module.Does.Not.Exist"
T9905fail2:
'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "import Data.List (bogusIdentifier)"
T9905fail3:
'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "import Prelude (+)" # syntax error
ghc-e-fail1:
'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "class ["
ghc-e-fail2:
'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -e "type A = A"
T9930fail:
'$(TEST_HC)' $(TEST_HC_OPTS) -ignore-dot-ghci -x hs T9930
|