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:
@@ -5,7 +5,7 @@ import std::io;
|
||||
fn void main()
|
||||
{
|
||||
var $s1 = $stringify(1 + 2);
|
||||
char[*] s2 = $stringify($s1);
|
||||
char[?] s2 = $stringify($s1);
|
||||
char[] s3 = $s1;
|
||||
|
||||
io::printfn("$s1 == %s", $s1);
|
||||
|
||||
Reference in New Issue
Block a user