mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Support for $assert. Also change order of checking global declarations from parsing to semantic analysis.
This commit is contained in:
committed by
Christoffer Lerno
parent
8586bf3f8d
commit
380c1c8ab4
@@ -3,13 +3,6 @@
|
||||
|
||||
//char[] str3 = "hello";
|
||||
|
||||
func void test2()
|
||||
{
|
||||
int[2] a = { 1, 2 };
|
||||
|
||||
int[2] b = 30; // #error: Cannot implicitly cast 'compint' to 'int[2]'
|
||||
int[2] c = a;
|
||||
}
|
||||
|
||||
int[2] a1 = { 1, 2 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user