Files
c3c/test/test_suite/struct/flex_array_comparison.c3

15 lines
149 B
Plaintext

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
}