summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/Makefile')
-rw-r--r--testsuite/tests/deriving/should_fail/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/Makefile b/testsuite/tests/deriving/should_fail/Makefile
new file mode 100644
index 0000000000..0f0995d29d
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/Makefile
@@ -0,0 +1,8 @@
+TOP=../../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+drvfail016:
+ $(RM) -f drvfail016.hi-boot drvfail016.o-boot
+ '$(TEST_HC)' $(TEST_HC_OPTS) -XGeneralizedNewtypeDeriving -c drvfail016.hs-boot; echo $$?
+