summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T11947a.hs
blob: 0d8a0d921e6958611bebab41783601845ecc1f5f (plain)
1
2
3
4
5
6
{-# LANGUAGE TypeApplications, ScopedTypeVariables #-}
module T11947 where

theFloatDigits :: forall a. RealFloat a => Int
-- The type is ambiguous, despite potential defaulting
theFloatDigits = floatDigits (undefined @_ @a)