diff options
Diffstat (limited to 'testsuite/tests/parser/should_fail/proposal-229c.hs')
-rw-r--r-- | testsuite/tests/parser/should_fail/proposal-229c.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/proposal-229c.hs b/testsuite/tests/parser/should_fail/proposal-229c.hs new file mode 100644 index 0000000000..344311b2a1 --- /dev/null +++ b/testsuite/tests/parser/should_fail/proposal-229c.hs @@ -0,0 +1,6 @@ +{-# LANGUAGE NoBangPatterns #-} + +module Proposal229c (f) where + +-- should recommend to enable BangPatterns instead of parsing as an infix operator +f !x = x |