summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/T14343b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/printer/T14343b.hs')
-rw-r--r--testsuite/tests/printer/T14343b.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/printer/T14343b.hs b/testsuite/tests/printer/T14343b.hs
new file mode 100644
index 0000000000..6596a7a486
--- /dev/null
+++ b/testsuite/tests/printer/T14343b.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, 'False )
+test2 = _ :: Proxy '( '( 'True, 'False ), 'False )
+test3 = _ :: Proxy '( '[ 1 ], 'False )