summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_run/tcrun025.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_run/tcrun025.hs')
-rw-r--r--testsuite/tests/typecheck/should_run/tcrun025.hs15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_run/tcrun025.hs b/testsuite/tests/typecheck/should_run/tcrun025.hs
new file mode 100644
index 0000000000..b7a565934e
--- /dev/null
+++ b/testsuite/tests/typecheck/should_run/tcrun025.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE ImplicitParams #-}
+
+-- Like tcrun024, but cross module
+
+module Main where
+ import TcRun025_B
+
+ just = [Just "fred",Just "bill"]
+
+ main = do { putStrLn (let ?p = "ok1" in fc1);
+ putStrLn (let ?p = "ok2" in fc2);
+ putStrLn (show (fd1 just)) ;
+ putStrLn (show (fd2 just)) }
+
+