summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/Makefile')
-rw-r--r--testsuite/tests/typecheck/should_compile/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/Makefile b/testsuite/tests/typecheck/should_compile/Makefile
new file mode 100644
index 0000000000..75691da79c
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/Makefile
@@ -0,0 +1,26 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+tc170:
+ $(RM) Tc170_Aux.hi Tc170_Aux.o tc170.hi tc170.o
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c Tc170_Aux.hs
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c tc170.hs
+
+tc173:
+ $(RM) Tc173a.o Tc173a.hi Tc173b.o Tc173b.hi
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c -XFlexibleInstances -XTypeSynonymInstances -XUndecidableInstances -XOverlappingInstances Tc173a.hs
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c -XUndecidableInstances -XOverlappingInstances Tc173b.hs
+
+T2412:
+ $(RM) -f T2412.hi-boot T2412.o-boot T2412A.hi T2412A.o T2412.hi T2412.o
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c T2412.hs-boot
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c T2412A.hs
+ '$(TEST_HC)' $(TEST_HC_OPTS) -c T2412.hs
+
+tc245:
+ $(RM) -f Tc245_A.hi Tc245_A.o tc245.hi tc245.o
+ '$(TEST_HC)' $(TEST_HC_OPTS) --make tc245
+ $(RM) -f tc245.hi tc245.o
+ '$(TEST_HC)' $(TEST_HC_OPTS) --make tc245
+