February 15, 2023 [Issue 23721] New: runnable/test22513.c:18:28: error: field ‘t’ has incomplete type | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23721 Issue ID: 23721 Summary: runnable/test22513.c:18:28: error: field ‘t’ has incomplete type Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org When compiling the test with `gcc -std=c11 -fsyntax-only` runnable/test22513.c:18:28: error: field ‘t’ has incomplete type 18 | struct S { int a; struct T t; }; | ^ Original test: ``` struct S { int a; struct T t; }; struct T { int b; int x; }; ``` -- |
Copyright © 1999-2021 by the D Language Foundation