summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/PatternSplice.hs
blob: 710a861b48e79acc13f7fa8824610bf7f009017f (plain)
1
2
3
4
5
6
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE PartialTypeSignatures #-}
{-# LANGUAGE ScopedTypeVariables #-}
module PatternSplice where

foo $( [p| (x :: _) |] ) = x