Commit e38b994e authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski Committed by Simon Peyton Jones

Test #8542

parent 0d10c874
module T8542 where
import GHC.Int
x :: Int8
x = -128
y :: Int8
y = 128
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
test('T7116', normal, run_command, ['$MAKE -s --no-print-directory T7116'])
test('T7895', normal, compile, [''])
test('T7881', normal, compile, [''])
test('T8542', normal, compile, [''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment