summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhdgarrood <>2019-04-15 23:03:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-04-15 23:03:00 (GMT)
commit804880ea1af7ec064f146ccf2b1c65590dfca657 (patch)
tree6f979063c6c9af3cd4287ee6b73b43cb417222f1 /tests
parent6abf0b97f82d952273a42d25cf9af3ed3516de93 (diff)
version 0.12.50.12.5
Diffstat (limited to 'tests')
-rw-r--r--tests/purs/passing/3595.purs14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/purs/passing/3595.purs b/tests/purs/passing/3595.purs
new file mode 100644
index 0000000..f5c7941
--- /dev/null
+++ b/tests/purs/passing/3595.purs
@@ -0,0 +1,14 @@
+module Main where
+
+import Prelude as P
+import Effect (Effect)
+import Effect.Console (log)
+
+class P.Show a <= Show a where
+ id :: a -> a
+
+instance showString :: Show String where
+ id x = x
+
+main :: Effect P.Unit
+main = log (id "Done")