[Issue 22260] importC: Error: struct `foo.Foo` no size because of forward reference

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 28 04:28:27 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22260

--- Comment #1 from dave287091 at gmail.com ---
Another case that triggers the same message and ICE:

typedef struct Foo Foo;
typedef struct Foo {
    int x;
} Foo;

--


More information about the Digitalmars-d-bugs mailing list