mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix +a = 1 erronously being accepted. Refactorings.
This commit is contained in:
@@ -83,6 +83,8 @@ fn void! testb() @test
|
||||
|
||||
fn void! testi() @test
|
||||
{
|
||||
int[<4>] x = { 4, 0, -1, 33 };
|
||||
assert({ true, false, true, true} == (bool[<4>])x);
|
||||
int[<4>] y = { 1, 2, 3, 4 };
|
||||
int[<4>] z = { 2, 2, 2, -100 };
|
||||
int[<4>] w = y + z;
|
||||
|
||||
Reference in New Issue
Block a user