summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail14.bkp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/backpack/should_fail/bkpfail14.bkp')
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail14.bkp18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/backpack/should_fail/bkpfail14.bkp b/testsuite/tests/backpack/should_fail/bkpfail14.bkp
new file mode 100644
index 0000000000..d63cb25bf5
--- /dev/null
+++ b/testsuite/tests/backpack/should_fail/bkpfail14.bkp
@@ -0,0 +1,18 @@
+-- Q by a different name, differently
+unit p where
+ signature Q where
+ f :: Int
+ signature Q2 where
+ module P where
+unit q where
+ module QMe where
+ f = True
+ module Q where
+ g = 23
+ module Q2 where
+unit r where
+ dependency p[Q=q:QMe, Q2=q:Q2]
+ dependency q
+ signature H where
+ module R where
+ import P