summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/parser/should_compile/read009.hs
blob: 5294012de1c4e4d6c7df5745c067aa6a2bc5fd7e (plain)
1
2
3
4
5
6
7
-- !!! combining undeclared infix operators
module ShouldCompile where

-- should default to 'infixl 9'

test = let f x y = x+y in 1 `f` 2 `f` 3