mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Allow (int[*]) { 1, 2 } cast style initialization. Experimental change from [*] to [?]. Fix issue where compile time declarations in expression list would not be handled properly.
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
module foo;
|
||||
|
||||
char[2] g = "ab";
|
||||
char[*] h = "abc";
|
||||
char[?] h = "abc";
|
||||
|
||||
fn int main()
|
||||
{
|
||||
char[2] x = "ab";
|
||||
char[*] y = "abc";
|
||||
char[?] y = "abc";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user