summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/unicode/T18225A.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/unicode/T18225A.hs')
-rw-r--r--testsuite/tests/parser/unicode/T18225A.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/parser/unicode/T18225A.hs b/testsuite/tests/parser/unicode/T18225A.hs
new file mode 100644
index 0000000000..5e340a3fe6
--- /dev/null
+++ b/testsuite/tests/parser/unicode/T18225A.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE UnicodeSyntax #-}
+
+module T18225A where
+
+(!) :: IO a -> b -> b
+(!) _ = id
+
+test1 :: Int
+test1 = $⟦1⟧
+
+test2 :: Int
+test2 = ⟦2⟧!2