summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2012-04-10 10:53:46 -0700
committerDavid Terei <davidterei@gmail.com>2012-04-10 10:53:46 -0700
commit362ee5a5c135caa32212461f4f6c5cf327c0cab1 (patch)
tree5545d3937b5f3e8882ca10da349b90c116b0e07a /testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr
parentd80aac9875d85ed2d93d3d5e5046db28505db0d3 (diff)
downloadhaskell-362ee5a5c135caa32212461f4f6c5cf327c0cab1.tar.gz
Add test to make sure flag extensions are correctly display as a unsafe
reason.
Diffstat (limited to 'testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr')
-rw-r--r--testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr
new file mode 100644
index 0000000000..1fa0d526c8
--- /dev/null
+++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr
@@ -0,0 +1,9 @@
+
+UnsafeInfered12.hs:2:16: Warning:
+ `UnsafeInfered12' has been infered as unsafe!
+ Reason:
+ UnsafeInfered12.hs:1:14:
+ -XTemplateHaskell is not allowed in Safe Haskell
+
+<no location info>:
+Failing due to -Werror.