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-foo.h] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
// Class Foo
2
 
3
#pragma interface
4
 
5
#define FOOLISH_NUMBER -4711
6
 
7
#ifndef FOO_MSG_LEN
8
#define FOO_MSG_LEN 80
9
#endif
10
 
11
class Foo {
12
    static int foos;
13
    int i;
14
    static const int len = FOO_MSG_LEN;
15
    char message[len];
16
public:
17
    static void init_foo ();
18
    static int nb_foos() { return foos; }
19
    Foo();
20
    Foo(const char* message);
21
    Foo(const Foo&);
22
    Foo & operator= (const Foo&);
23
    ~Foo ();
24
};

powered by: WebSVN 2.1.0

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