blob: cb7970fad1c22b22df3e497c872b3e94f886e219 [file] [log] [blame]
// PR c++/23089
// Origin: Flash Sheridan <flash@pobox.com>
// ICE on incomplete type
// { dg-do compile }
// { dg-options "-O" }
void foo(struct A) {} // { dg-error "incomplete type|forward declaration" }