OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [inline6.C] - Diff between revs 305 and 338

Only display areas with differences | Details | Blame | View Log

Rev 305 Rev 338
// { dg-do assemble  }
// { dg-do assemble  }
// GROUPS passed inlining
// GROUPS passed inlining
// inline file
// inline file
// Message-Id: <199307162240.AA04019@world.std.com>
// Message-Id: <199307162240.AA04019@world.std.com>
// From: kol@world.std.com (Nikolay Yatsenko)
// From: kol@world.std.com (Nikolay Yatsenko)
// Subject: g++ bug: crash with extern C friend
// Subject: g++ bug: crash with extern C friend
// Date: Fri, 16 Jul 1993 18:40:48 -0400
// Date: Fri, 16 Jul 1993 18:40:48 -0400
inline void Ignore(){}
inline void Ignore(){}
extern "C" void foo() {}  // but without extern C  g++ compiles it
extern "C" void foo() {}  // but without extern C  g++ compiles it
struct A
struct A
{
{
  void f()     {Ignore();}
  void f()     {Ignore();}
  friend void foo ();
  friend void foo ();
};
};
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.