summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/RebindNegate.hs
blob: bb5fc49692961bb3e0e7fb35d4dbaf3755dac260 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE RebindableSyntax #-}

module RebindNegate where

import Prelude ( length )

negate = length

y = - "foo"