summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_compile/saks027.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_compile/saks027.hs')
-rw-r--r--testsuite/tests/saks/should_compile/saks027.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_compile/saks027.hs b/testsuite/tests/saks/should_compile/saks027.hs
new file mode 100644
index 0000000000..736def1d68
--- /dev/null
+++ b/testsuite/tests/saks/should_compile/saks027.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+module SAKS_027 where
+
+import Data.Kind
+
+$([d| type U :: Type
+ data U = MkU
+ |])