Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.law / inline6.C
blob20f396dd023b2aa77261ce72b76d8fbd716953b4
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
9 inline void Ignore(){}
11 extern "C" void foo() {}  // but without extern C  g++ compiles it
13 struct A
15   void f()     {Ignore();}
16   friend void foo ();