diff options
author | Ben Gamari <ben@smart-cactus.org> | 2018-12-07 12:46:02 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-12-07 22:52:25 -0500 |
commit | e1a98fabd4cc40b8f5401a058e6bf2f59596f698 (patch) | |
tree | 0031e7b9b6e69530de8f8b1611e78cfc41072f1b | |
parent | 856dd66fc9c6416b2f62c8f2ac8bb61f4a48b859 (diff) | |
download | haskell-e1a98fabd4cc40b8f5401a058e6bf2f59596f698.tar.gz |
testsuite: Fix tests expecting 64-bit word size
These were added in 75a8349b2a7d0142d3d687837caf5a95bbb4368d.
-rw-r--r-- | testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 | 18 | ||||
-rw-r--r-- | testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 (renamed from testsuite/tests/warnings/should_compile/Overflow.stderr) | 0 | ||||
-rw-r--r-- | testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 | 12 | ||||
-rw-r--r-- | testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 (renamed from testsuite/tests/warnings/should_compile/T10930.stderr) | 0 | ||||
-rw-r--r-- | testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 | 3 | ||||
-rw-r--r-- | testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 (renamed from testsuite/tests/warnings/should_compile/T13256.stderr) | 0 |
6 files changed, 33 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 new file mode 100644 index 0000000000..0868f26f07 --- /dev/null +++ b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 @@ -0,0 +1,18 @@ + +Overflow.hs:8:15: warning: [-Woverflowed-literals (in -Wdefault)] + Literal 10000000000000000000000000000000 is out of the Int# range -2147483648..2147483647 + +Overflow.hs:13:1: warning: [-Woverflowed-literals (in -Wdefault)] + Literal 100000000000000000000000000 is out of the Int# range -2147483648..2147483647 + +Overflow.hs:18:5: warning: [-Woverflowed-literals (in -Wdefault)] + Literal 1000000000000000000000000000000 is out of the Int range -2147483648..2147483647 + +Overflow.hs:22:1: warning: [-Woverflowed-literals (in -Wdefault)] + Literal 100000000000000000000000000000000 is out of the Int range -2147483648..2147483647 + +Overflow.hs:27:6: warning: [-Woverflowed-literals (in -Wdefault)] + Literal -1 is out of the Word range 0..4294967295 + +Overflow.hs:31:1: warning: [-Woverflowed-literals (in -Wdefault)] + Literal -1 is out of the Word range 0..4294967295 diff --git a/testsuite/tests/warnings/should_compile/Overflow.stderr b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 index ce657aebf6..ce657aebf6 100644 --- a/testsuite/tests/warnings/should_compile/Overflow.stderr +++ b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 diff --git a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 new file mode 100644 index 0000000000..8fcd1a3a1f --- /dev/null +++ b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 @@ -0,0 +1,12 @@ + +T10930.hs:6:5: warning: [-Woverflowed-literals (in -Wdefault)] + Literal -123 is out of the Word range 0..4294967295 + +T10930.hs:7:5: warning: [-Woverflowed-literals (in -Wdefault)] + Literal -123 is negative but Natural only supports positive numbers + +T10930.hs:9:5: warning: [-Wempty-enumerations (in -Wdefault)] + Enumeration is empty + +T10930.hs:10:5: warning: [-Wempty-enumerations (in -Wdefault)] + Enumeration is empty diff --git a/testsuite/tests/warnings/should_compile/T10930.stderr b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 index 1b593b9f38..1b593b9f38 100644 --- a/testsuite/tests/warnings/should_compile/T10930.stderr +++ b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 diff --git a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 new file mode 100644 index 0000000000..6309a9765e --- /dev/null +++ b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 @@ -0,0 +1,3 @@ + +T13256.hs:4:12: warning: [-Woverflowed-literals (in -Wdefault)] + Literal 100000000000000000000000000000000 is out of the Int range -2147483648..2147483647 diff --git a/testsuite/tests/warnings/should_compile/T13256.stderr b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 index 6b06a7d093..6b06a7d093 100644 --- a/testsuite/tests/warnings/should_compile/T13256.stderr +++ b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 |