blob: aa5271d3fdee349f8522de86743789a0c4313057 (
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
25
|
TOP=../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
.PHONY: gadt17 gadt23
# A multi-module test that made GHC 6.4.1 crash
gadt17:
@$(RM) gadt17.hi Gadt17_help.hi
@$(RM) A$(OBJSUFFIX)
'$(TEST_HC)' $(TEST_HC_OPTS) -c Gadt17_help.hs
'$(TEST_HC)' $(TEST_HC_OPTS) -c gadt17.hs
T7321:
@$(RM) T7321a.hi T7321.hi
'$(TEST_HC)' $(TEST_HC_OPTS) -c T7321a.hs
'$(TEST_HC)' $(TEST_HC_OPTS) -c T7321.hs
gadt23:
$(RM) gadt23 gadt23.hi gadt23.o Gadt23_AST.hi Gadt23_AST.o
'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make gadt23.hs
# Append a blank line to gadt23.hs to trigger a recompile
echo >> gadt23.hs
'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make gadt23.hs
|