summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T9178.stderr
diff options
context:
space:
mode:
authorNicolas Frisby <nicolas.frisby@gmail.com>2014-08-19 20:03:23 -0500
committerNicolas Frisby <nicolas.frisby@gmail.com>2014-08-19 20:04:15 -0500
commitf17ceee98221de21f896ac412b7a7ddcfc35a0c6 (patch)
tree3b3237251bee546221b9023b9c7cf0a94bc7d37a /testsuite/tests/warnings/should_compile/T9178.stderr
parent4d3f37e0c07f35be51b8bb24374ca3163b8b9a46 (diff)
parent15faa0ec3a5a783f3949dcff6adf412d5f21bdf8 (diff)
downloadhaskell-f17ceee98221de21f896ac412b7a7ddcfc35a0c6.tar.gz
Merge branch 'master' into late-lam-lift
Silly conflicts because of new flags -- not sure how best to resolve/avoid this. git is requiring my commit to mention 'submodule' for some reason? Conflicts: compiler/main/DynFlags.hs
Diffstat (limited to 'testsuite/tests/warnings/should_compile/T9178.stderr')
-rw-r--r--testsuite/tests/warnings/should_compile/T9178.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_compile/T9178.stderr b/testsuite/tests/warnings/should_compile/T9178.stderr
new file mode 100644
index 0000000000..6f4b6c0295
--- /dev/null
+++ b/testsuite/tests/warnings/should_compile/T9178.stderr
@@ -0,0 +1,8 @@
+[1 of 2] Compiling T9178DataType ( T9178DataType.hs, T9178DataType.o )
+[2 of 2] Compiling T9178 ( T9178.hs, T9178.o )
+
+T9178.hs:8:10: Warning:
+ Orphan instance: instance Show T9178_Type
+ To avoid this
+ move the instance declaration to the module of the class or of the type, or
+ wrap the type with a newtype and declare the instance on the new type.