1 // { dg-do assemble  }
2 // GROUPS passed inlining
3 // inline file
4 // Message-Id: <199307162240.AA04019@world.std.com>
5 // From: kol@world.std.com (Nikolay Yatsenko)
6 // Subject: g++ bug: crash with extern C friend
7 // Date: Fri, 16 Jul 1993 18:40:48 -0400
8 
Ignore()9 inline void Ignore(){}
10 
foo()11 extern "C" void foo() {}  // but without extern C  g++ compiles it
12 
13 struct A
14 {
fA15   void f()     {Ignore();}
16   friend void foo ();
17 };
18