mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- x'1234' +++ (ichar[1]) { 'A' } would fail due to missing const folding.
This commit is contained in:
5
test/test_suite/compile_time/concat_convert.c3
Normal file
5
test/test_suite/compile_time/concat_convert.c3
Normal file
@@ -0,0 +1,5 @@
|
||||
fn int main()
|
||||
{
|
||||
const A = x'1234' +++ (ichar[1]) { 'A' };
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user