summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.hs
blob: 55cdd5b219b8b7cf6f557e4d2322d529ffa7b030 (plain)
1
2
3
4
5
{-# LANGUAGE NamedWildCards #-}
module InstantiatedNamedWildcardsInConstraints where

foo :: (Enum _a, _) => _a -> (String, b)
foo x = (show (succ x), x)