summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T4127a.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/T4127a.stderr')
-rw-r--r--testsuite/tests/ghci/scripts/T4127a.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T4127a.stderr b/testsuite/tests/ghci/scripts/T4127a.stderr
new file mode 100644
index 0000000000..598bdbc5a3
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T4127a.stderr
@@ -0,0 +1,11 @@
+
+<interactive>:3:68:
+ Multiple declarations of ‛f’
+ Declared at: <interactive>:3:32
+ <interactive>:3:68
+ In the Template Haskell quotation
+ [d| f = undefined
+ class Foo x where
+ f :: x -> x
+ instance Foo Int where
+ f = id |]