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