summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T6038.hs
blob: 8478cd51b360327f09b05f3ca471a7a56343ff09 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE ViewPatterns, BangPatterns #-}

module T6038 where

data T = MkT { x,y :: Int }

f (MkT { x = !v, y = negate -> w }) = v + w