1 2 3 4 5 6 7 8 9 10 11 12
// { dg-do assemble } // PRMS Id: 4695 // Bug: g++ wrongly requires A to be complete here. struct A; void foo(const A &); void bar(A *p) { foo(*p); }