URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [static-mem5.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-w -fpermissive" }
// GROUPS passed static-mem
// static-mem file
// From: bunch@tazboy.jpl.nasa.gov (Walt Bunch)
// Date: Thu, 23 Jun 94 14:58:35 UNI
// Subject: bug report
// Message-ID: <9406232258.AA03897@tazboy.JPL.NASA.GOV>
class A
{
public:
static void F (int i) {}
static void A::G (int i) {}
};
main ()
{
A::F (17);
A::G (42);
}