summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T2713.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T2713.hs')
-rw-r--r--testsuite/tests/th/T2713.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/th/T2713.hs b/testsuite/tests/th/T2713.hs
new file mode 100644
index 0000000000..77eb704b1c
--- /dev/null
+++ b/testsuite/tests/th/T2713.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TemplateHaskell #-}
+module Fixity where
+
+class MyClass a where
+ (.*.) :: a -> a -> a
+
+$( [d| x = undefined |] )
+
+infixr 3 .*.