summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/RnMultipleMinimalPragmaFail.hs
blob: b28a6b4a6bdf45bf501517d60f375a8d658e35a5 (plain)
1
2
3
4
5
6
7
8
9
module RnMultipleMinimalPragmaFail where

class C a where
  {-# MINIMAL m1 | m2 #-}
  m1 :: a
  m2 :: a
  m2 = m1
  m1 = m2
  {-# MINIMAL m1 | m2 #-}