summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests/printing/Print003.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/tests/printing/Print003.hs')
-rw-r--r--ghc/compiler/tests/printing/Print003.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc/compiler/tests/printing/Print003.hs b/ghc/compiler/tests/printing/Print003.hs
new file mode 100644
index 0000000000..e95bd0c78b
--- /dev/null
+++ b/ghc/compiler/tests/printing/Print003.hs
@@ -0,0 +1,6 @@
+module Word where
+
+infixl 8 `bitLsh`, `bitRsh`
+
+class Bits a where
+ bitRsh, bitLsh :: a -> Int -> a