URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [inline6.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed inlining
// inline file
// Message-Id: <199307162240.AA04019@world.std.com>
// From: kol@world.std.com (Nikolay Yatsenko)
// Subject: g++ bug: crash with extern C friend
// Date: Fri, 16 Jul 1993 18:40:48 -0400
inline void Ignore(){}
extern "C" void foo() {} // but without extern C g++ compiles it
struct A
{
void f() {Ignore();}
friend void foo ();
};