Debian Codegraph @

gcc/testsuite/g++.dg/other/incomplete1.C

raw
1 // PR c++/23089
2 // Origin: Flash Sheridan <[email protected]>
3 // ICE on incomplete type
4 // { dg-do compile }
5 // { dg-options "-O" }
6
7 void foo(struct A) {} // { dg-error "incomplete type|forward declaration" }