aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/ImplicitParams.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/src/ImplicitParams.hs')
-rw-r--r--html-test/src/ImplicitParams.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/html-test/src/ImplicitParams.hs b/html-test/src/ImplicitParams.hs
new file mode 100644
index 00000000..4595b8f7
--- /dev/null
+++ b/html-test/src/ImplicitParams.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE ImplicitParams #-}
+module ImplicitParams where
+
+data X
+
+c :: (?x :: X) => X
+c = ?x
+
+d :: (?x :: X, ?y :: X) => (X, X)
+d = (?x, ?y)