1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fix for signed numeric cast with immediate

This commit is contained in:
Brian Fiete 2021-06-23 08:39:12 -07:00
parent a888fd745a
commit f993d3cc62
2 changed files with 10 additions and 1 deletions

View file

@ -38,6 +38,10 @@ namespace Tests
{
Test.Assert(0b0111010110111100110100010101 == 123456789);
Test.Assert(0o726746425 == 123456789);
int i0 = 5;
int i1 = i0 % 1;
Test.Assert(i1 == 0);
}
}
}