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

11 lines
175 B
Plaintext

struct Test
{
struct { int x; }
}
fn void main()
{
Test t;
Test.membersof[0].get(t).x;
Test.membersof[0].get(t).y; // #error: here is no field or method 'Test.(anon).y'
}