Commit f854a517 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix gadt23 test

parent fc19d4af
......@@ -2,6 +2,8 @@ TOP=../../..
include $(TOP)/mk/
include $(TOP)/mk/
.PHONY: gadt17 gadt23
# A mulit-module test that made GHC 6.4.1 crash
@$(RM) gadt17.hi Gadt17_help.hi
......@@ -10,8 +12,11 @@ gadt17:
$(TEST_HC) -c gadt17.hs
$(RM) gadt23.hi gadt23.o Gadt23_AST.hi Gadt23_AST.o
$(RM) gadt23 gadt23.hi gadt23.o Gadt23_AST.hi Gadt23_AST.o
$(TEST_HC) -v0 --make gadt23.hs
touch gadt23.hs
# We want to "touch gadt23.hs" really, but we then have issues with
# everything happening in the same second so the touch having no
# effect. Thus make gadt23.hi/o older instead.
touch -t 01010000 gadt23.hi gadt23.o
$(TEST_HC) -v0 --make gadt23.hs
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