summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5290.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2011-07-21 22:54:56 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2011-07-21 22:54:56 +0100
commit3cd7b4015ed19ba451cc512c43fb934d5db4948e (patch)
tree454414168286b83d97e9ac9f85db81b759622eb9 /testsuite/tests/th/T5290.stderr
parentbf4b8258d2dcd17c9f9c00c3fcb4032e738ae6da (diff)
downloadhaskell-3cd7b4015ed19ba451cc512c43fb934d5db4948e.tar.gz
Test Trac #5290
Diffstat (limited to 'testsuite/tests/th/T5290.stderr')
-rw-r--r--testsuite/tests/th/T5290.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5290.stderr b/testsuite/tests/th/T5290.stderr
new file mode 100644
index 0000000000..d8afd836b1
--- /dev/null
+++ b/testsuite/tests/th/T5290.stderr
@@ -0,0 +1,6 @@
+T5290.hs:1:1: Splicing declarations
+ let n = mkName "T"
+ in return [DataD [] n [] [NormalC n [(Unpacked, ConT 'Int)]] []]
+ ======>
+ T5290.hs:(7,4)-(8,67)
+ data T = T {-# UNPACK #-} !Int