diff options
Diffstat (limited to 'testsuite/tests/printer/T14343.hs')
-rw-r--r-- | testsuite/tests/printer/T14343.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/printer/T14343.hs b/testsuite/tests/printer/T14343.hs new file mode 100644 index 0000000000..1fe6a9660b --- /dev/null +++ b/testsuite/tests/printer/T14343.hs @@ -0,0 +1,12 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE PolyKinds #-} +{-# OPTIONS_GHC -Werror=typed-holes #-} + +main :: IO () +main = undefined + +data Proxy k = Proxy + +test1 = _ :: Proxy '[ 'True ] +test2 = _ :: Proxy '[ '[ 1 ] ] +test3 = _ :: Proxy '[ '( "Symbol", 1 ) ] |