AST printout removed. Split initializer types. Const list functionality.

This commit is contained in:
Christoffer Lerno
2021-09-06 09:59:28 +02:00
committed by Christoffer Lerno
parent c76e8e0713
commit bcda6d71c9
24 changed files with 480 additions and 1457 deletions

View File

@@ -0,0 +1,27 @@
// #skip
union Baz
{
int x;
double y;
}
struct Bar
{
int x;
int y;
}
func int test()
{
Baz ffe = { .x = 1 };
int[1] azz = {};
int[*] a = {};
var $foo = { 1, 2, 3 };
bool x = ! int[] { 1, 2, 3 };
Bar b = {};
Baz z = {};
int[] sub = {};
Bar[] foo = {};
Baz[3] baz = {};
return 1;
}