summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail47.bkp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/backpack/should_fail/bkpfail47.bkp')
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail47.bkp12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/backpack/should_fail/bkpfail47.bkp b/testsuite/tests/backpack/should_fail/bkpfail47.bkp
new file mode 100644
index 0000000000..b8d4ae66d8
--- /dev/null
+++ b/testsuite/tests/backpack/should_fail/bkpfail47.bkp
@@ -0,0 +1,12 @@
+{-# LANGUAGE RoleAnnotations #-}
+unit p where
+ signature A where
+ type role T nominal representational
+ data T a b
+unit q where
+ signature A where
+ type role T representational nominal
+ data T a b = MkT
+unit r where
+ dependency p[A=<A>]
+ dependency q[A=<A>]