complete1.C   [plain text]


// { 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);
}