2 // { dg-options "-finline -finline-functions" }
3 // Contributed by Hans Buchmann <hans dot buchmann at fhso dot ch>
4 // PR c++/14033: ICE while inlining a function with incomplete parameter
6 struct A; // { dg-error "forward declaration" }
7 void foo(A a) {} // { dg-error "incomplete" }