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] - Rev 205

Compare with Previous | Blame | View Log

// Class Foo
 
#pragma interface
 
#define FOOLISH_NUMBER -4711
 
#ifndef FOO_MSG_LEN
#define FOO_MSG_LEN 80
#endif
 
class Foo {
    static int foos;
    int i;
    static const int len = FOO_MSG_LEN;
    char message[len];
public: 
    static void init_foo ();
    static int nb_foos() { return foos; }
    Foo();
    Foo(const char* message);
    Foo(const Foo&);
    Foo & operator= (const Foo&);
    ~Foo ();
}; 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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