mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
7 lines
197 B
Plaintext
7 lines
197 B
Plaintext
func void test1()
|
|
{
|
|
ichar a = cast(256 + 1 as ichar);
|
|
ushort b = cast(65536+1 as ushort);
|
|
ichar c = cast(65536+400 as ushort); // #error: Cannot implicitly cast 'ushort' to 'ichar'
|
|
}
|