mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Removes win x86 target. Add win aarch64. Fixes to jump buffer sizes. Fix returning bool[2] in the SysV ABI. Array comparison now works. Prevent flexible array comparisons. Prevent zero size unions.
This commit is contained in:
15
test/test_suite/struct/flex_array_comparison.c3
Normal file
15
test/test_suite/struct/flex_array_comparison.c3
Normal file
@@ -0,0 +1,15 @@
|
||||
module test;
|
||||
|
||||
struct Abc
|
||||
{
|
||||
int x;
|
||||
int[*] y;
|
||||
}
|
||||
|
||||
|
||||
fn void test()
|
||||
{
|
||||
Abc x;
|
||||
Abc y;
|
||||
bool same = x.y == y.y; // #error: does not support comparisons
|
||||
}
|
||||
Reference in New Issue
Block a user