// { dg-do assemble  }
// make sure extern "C" friends work.
extern "C" { void func(); }
struct crash {
  int i;
  friend void func();
} a;
void func() {
  a.i = 1;
}
// { dg-do assemble  }
// make sure extern "C" friends work.
extern "C" { void func(); }
struct crash {
  int i;
  friend void func();
} a;
void func() {
  a.i = 1;
}