URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// GROUPS passed default-functions
|
// GROUPS passed default-functions
|
class dictionary {
|
class dictionary {
|
public:
|
public:
|
dictionary (int);
|
dictionary (int);
|
};
|
};
|
|
|
class symbol {
|
class symbol {
|
public:
|
public:
|
symbol ();
|
symbol ();
|
};
|
};
|
|
|
// a default ctor should not be generated for hyphenation_language,
|
// a default ctor should not be generated for hyphenation_language,
|
// since a ctor has already been declared; if one is generated, there
|
// since a ctor has already been declared; if one is generated, there
|
// will be an error about not enough args to the ctor for dictionary,
|
// will be an error about not enough args to the ctor for dictionary,
|
// since dictionary only defines a ctor taking an int (it ALSO should
|
// since dictionary only defines a ctor taking an int (it ALSO should
|
// not get a default ctor)
|
// not get a default ctor)
|
struct hyphenation_language {
|
struct hyphenation_language {
|
symbol name;
|
symbol name;
|
dictionary exceptions;
|
dictionary exceptions;
|
hyphenation_language(symbol nm) : name(nm), exceptions(501) {}
|
hyphenation_language(symbol nm) : name(nm), exceptions(501) {}
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.