summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-06-12 10:44:41 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-06-12 10:44:41 +0100
commitd200ba10ad25b84bee8bef34adc66023148148ba (patch)
tree092820bf9bc72dc9f1ca3aa05a5ef5059d2d1bdf /testsuite/tests/typecheck/should_fail
parent6c52b646042f534cc4c9d597f24734f0e7efbf76 (diff)
downloadhaskell-d200ba10ad25b84bee8bef34adc66023148148ba.tar.gz
no need to force -O here any more (#3966)
Diffstat (limited to 'testsuite/tests/typecheck/should_fail')
-rw-r--r--testsuite/tests/typecheck/should_fail/T3966.hs3
-rw-r--r--testsuite/tests/typecheck/should_fail/T3966.stderr16
2 files changed, 9 insertions, 10 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T3966.hs b/testsuite/tests/typecheck/should_fail/T3966.hs
index 7b1184c710..08243450c7 100644
--- a/testsuite/tests/typecheck/should_fail/T3966.hs
+++ b/testsuite/tests/typecheck/should_fail/T3966.hs
@@ -1,5 +1,4 @@
-{-# OPTIONS_GHC -Werror -O #-}
--- Add -O so the UNPACK has some effect
+{-# OPTIONS_GHC -Werror #-}
module T3966 where
diff --git a/testsuite/tests/typecheck/should_fail/T3966.stderr b/testsuite/tests/typecheck/should_fail/T3966.stderr
index 9b081582a3..ccbe467449 100644
--- a/testsuite/tests/typecheck/should_fail/T3966.stderr
+++ b/testsuite/tests/typecheck/should_fail/T3966.stderr
@@ -1,8 +1,8 @@
-
-T3966.hs:6:16: Warning:
- Ignoring unusable UNPACK pragma on the first argument of `Foo'
- In the definition of data constructor `Foo'
- In the data declaration for `Foo'
-
-<no location info>:
-Failing due to -Werror.
+
+T3966.hs:5:16: Warning:
+ Ignoring unusable UNPACK pragma on the first argument of `Foo'
+ In the definition of data constructor `Foo'
+ In the data declaration for `Foo'
+
+<no location info>:
+Failing due to -Werror.