Debian Codegraph @

gcc/testsuite/g++.dg/opt/pr69483.C

raw
1 // PR tree-optimization/69483
2 // { dg-do compile }
3
4 struct T { struct S *a; };
5 struct S b; // { dg-error "aggregate 'S b' has incomplete type and cannot be defined" }
6 struct T c = { &b };