OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-cdtest/] [cdtest-bar.cc] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
// test program for Class Foo
2
 
3
#include "cdtest-foo.h"
4
 
5
static Foo static_foo( "static_foo");
6
 
7
Foo f()
8
{
9
    Foo x;
10
    return x;
11
}
12
 
13
void g()
14
{
15
    Foo other_foo1 = Foo( "other_foo1"), other_foo2 = Foo( "other_foo2");
16
    other_foo2 = other_foo1;
17
}

powered by: WebSVN 2.1.0

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