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:
@@ -9,7 +9,7 @@ struct TestCase
|
||||
char[] enc;
|
||||
}
|
||||
|
||||
TestCase[*] std_tests = {
|
||||
TestCase[?] std_tests = {
|
||||
{ "", "" },
|
||||
{ "f", "MY======" },
|
||||
{ "fo", "MZXQ====" },
|
||||
@@ -19,7 +19,7 @@ TestCase[*] std_tests = {
|
||||
{ "foobar", "MZXW6YTBOI======" },
|
||||
};
|
||||
|
||||
TestCase[*] hex_tests = {
|
||||
TestCase[?] hex_tests = {
|
||||
{ "", "" },
|
||||
{ "f", "CO======" },
|
||||
{ "fo", "CPNG====" },
|
||||
|
||||
Reference in New Issue
Block a user