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