diff options
Diffstat (limited to 'testsuite/tests/parser/should_compile/proposal-229a.hs')
-rw-r--r-- | testsuite/tests/parser/should_compile/proposal-229a.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/proposal-229a.hs b/testsuite/tests/parser/should_compile/proposal-229a.hs new file mode 100644 index 0000000000..c773cee3a2 --- /dev/null +++ b/testsuite/tests/parser/should_compile/proposal-229a.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE BangPatterns #-} + +module Proposal229a where + +data T a b = a :! b + +(!) :: x -> T a b -> (x, a, b) +~u ! !(!m :! !n) = (u, m, n) |