summaryrefslogtreecommitdiff
path: root/tests/diagnostics/int-literal.slang.expected
blob: 01e7785f6cc144907fbc15df244a16e4845fc4ef (plain)
1
2
3
4
5
6
7
8
9
10
11
result code = 0
standard error = {
tests/diagnostics/int-literal.slang(6): warning 39999: integer literal '0x800000000' too large for type 'int' truncated to '0'
    int c0 = 0x800000000;
             ^~~~~~~~~~~
tests/diagnostics/int-literal.slang(18): warning 39999: integer literal '0xfffffffff' too large for type 'int' truncated to '-1'
    int c4 = -0xfffffffff;
              ^~~~~~~~~~~
}
standard output = {
}