summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn050.hs
blob: 4dd1e6c4c4623689445c8be696c6b5ed1d1d509b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# OPTIONS_GHC -fwarn-warnings-deprecations #-}

-- Test deprecation of constructors and class ops

module ShouldCompile where

import Rn050_A

instance Foo T where
  op x  = x
  bop y = y

foo = op C