Test Trac #7502
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 19 Dec 2012 17:25:33 +0000 (17:25 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 19 Dec 2012 17:25:33 +0000 (17:25 +0000)
testsuite/tests/polykinds/T7502.hs [new file with mode: 0644]
testsuite/tests/polykinds/all.T

diff --git a/testsuite/tests/polykinds/T7502.hs b/testsuite/tests/polykinds/T7502.hs
new file mode 100644 (file)
index 0000000..bdaf4b9
--- /dev/null
@@ -0,0 +1,4 @@
+{-# LANGUAGE DataKinds #-}
+module T7502 where
+
+type S = [1,2]
index 4dec1b4..4665255 100644 (file)
@@ -80,3 +80,4 @@ test('T7422', normal, compile,[''])
 test('T7433', normal, compile_fail,[''])
 test('T7438', normal, run_command, ['$MAKE -s --no-print-directory T7438'])
 test('T7404', normal, compile_fail,[''])
+test('T7502', normal, compile,[''])