Files
c3c/test/test_suite/expressions/casts/cast_const.c3
Christoffer Lerno f46697bc54 Updated casts (#684)
Cast code rework. Remove llvm_set_bool and friends.
2022-12-27 14:16:47 +01:00

7 lines
153 B
Plaintext

fn void test1()
{
ichar a = (ichar)(256 + 1);
ushort b = (ushort)(65536+1);
ichar c = (ushort)(65536+400); // #error: truncate the value
}