Test Trac #5968
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 30 Mar 2012 12:35:47 +0000 (13:35 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 30 Mar 2012 12:35:47 +0000 (13:35 +0100)
testsuite/tests/th/T5968.hs [new file with mode: 0644]
testsuite/tests/th/all.T

diff --git a/testsuite/tests/th/T5968.hs b/testsuite/tests/th/T5968.hs
new file mode 100644 (file)
index 0000000..d483d84
--- /dev/null
@@ -0,0 +1,6 @@
+{-# LANGUAGE TemplateHaskell #-}
+module T5968 where
+
+data Bar a = Bar $( [t| a |] )
+
+
index 87521ab..4bf6a32 100644 (file)
@@ -227,4 +227,5 @@ test('T5886', extra_clean(['T5886a.hi','T5886a.o']),
               multimod_compile, ['T5886','-v0'])
 test('T4135', normal, compile, ['-v0'])
 test('T5971', normal, compile_fail, ['-v0 -dsuppress-uniques'])
+test('T5968', normal, compile, ['-v0'])