summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_run/bkprun01.bkp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/backpack/should_run/bkprun01.bkp')
-rw-r--r--testsuite/tests/backpack/should_run/bkprun01.bkp13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/backpack/should_run/bkprun01.bkp b/testsuite/tests/backpack/should_run/bkprun01.bkp
new file mode 100644
index 0000000000..271990447f
--- /dev/null
+++ b/testsuite/tests/backpack/should_run/bkprun01.bkp
@@ -0,0 +1,13 @@
+unit p-impls where
+ module P(hello) where
+ hello = "Hello "
+ module Q(hello, world) where
+ import P
+ world = "World"
+
+unit main where
+ dependency p-impls
+ module Main where
+ import P
+ import Q
+ main = putStrLn (hello ++ world)