summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5795.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T5795.stderr')
-rw-r--r--testsuite/tests/th/T5795.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5795.stderr b/testsuite/tests/th/T5795.stderr
new file mode 100644
index 0000000000..757ba72cfd
--- /dev/null
+++ b/testsuite/tests/th/T5795.stderr
@@ -0,0 +1,6 @@
+
+T5795.hs:9:6:
+ GHC stage restriction:
+ ‛ty’ is used in a top-level splice or annotation,
+ and must be imported, not defined locally
+ In the splice: $ty