Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e38b994e
Commit
e38b994e
authored
Nov 19, 2013
by
Krzysztof Gogolewski
Committed by
Simon Peyton Jones
Nov 22, 2013
Browse files
Test
#8542
parent
0d10c874
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/numeric/should_compile/T8542.hs
0 → 100644
View file @
e38b994e
module
T8542
where
import
GHC.Int
x
::
Int8
x
=
-
128
y
::
Int8
y
=
128
testsuite/tests/numeric/should_compile/T8542.stderr
0 → 100644
View file @
e38b994e
T8542.hs:6:6: Warning:
Literal 128 of type Int8 overflows
If you are attempting to write a negative literal, use NegativeLiterals
T8542.hs:9:5: Warning:
Literal 128 of type Int8 overflows
If you are attempting to write a negative literal, use NegativeLiterals
testsuite/tests/numeric/should_compile/all.T
View file @
e38b994e
test
('
T7116
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory T7116
'])
test
('
T7895
',
normal
,
compile
,
[''])
test
('
T7881
',
normal
,
compile
,
[''])
test
('
T8542
',
normal
,
compile
,
[''])
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment