URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ns/] [ns2.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
namespace foo{
struct X{
int i;
void f();
static int k1,k2;
};
void X::f(){}
int var;
int X::k1;
}
using namespace foo;
X zzz;
int X::k2;
void andere_funktion()
{
zzz.f();
var=4;
}
int main(int,char**)
{
andere_funktion();
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log