summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T17792.hs
blob: 3b18f566c48a8055ab7823aae985ada0b79fd366 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TypeApplications #-}
{-# OPTIONS_GHC -fdefer-type-errors #-}

module T17792 where

class C a where
  m :: a

instance C Bool where
  m = notInScope @Word