diff options
author | David Terei <davidterei@gmail.com> | 2012-04-10 10:53:46 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2012-04-10 10:53:46 -0700 |
commit | 362ee5a5c135caa32212461f4f6c5cf327c0cab1 (patch) | |
tree | 5545d3937b5f3e8882ca10da349b90c116b0e07a /testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr | |
parent | d80aac9875d85ed2d93d3d5e5046db28505db0d3 (diff) | |
download | haskell-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.stderr | 9 |
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. |