summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T18834b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/T18834b.hs')
-rw-r--r--testsuite/tests/parser/should_compile/T18834b.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/T18834b.hs b/testsuite/tests/parser/should_compile/T18834b.hs
new file mode 100644
index 0000000000..8a020b8b5f
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/T18834b.hs
@@ -0,0 +1,8 @@
+{-# OPTIONS -Woperator-whitespace #-}
+
+module T18834b where
+
+f a b = a+ b
+g a b = a +b
+h a b = a+b
+k a b = a + b -- this one is OK, no warning