summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5883.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T5883.stderr')
-rw-r--r--testsuite/tests/th/T5883.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5883.stderr b/testsuite/tests/th/T5883.stderr
new file mode 100644
index 0000000000..0b0f705823
--- /dev/null
+++ b/testsuite/tests/th/T5883.stderr
@@ -0,0 +1,12 @@
+T5883.hs:1:1: Splicing declarations
+ [d| data Unit = Unit
+
+ instance Show Unit where
+ show _ = ""
+ {-# INLINE show #-} |]
+ ======>
+ T5883.hs:(7,4)-(12,4)
+ data Unit = Unit
+ instance Show Unit where
+ {-# INLINE show #-}
+ show _ = ""