URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
/*
|
/*
|
PRMS Id: 3631
|
PRMS Id: 3631
|
Bug is: g++ mangles template class names in a way that it won't accept,
|
Bug is: g++ mangles template class names in a way that it won't accept,
|
and then tries to feed them to itself.
|
and then tries to feed them to itself.
|
*/
|
*/
|
|
|
template
|
template
|
struct A {
|
struct A {
|
A();
|
A();
|
};
|
};
|
|
|
template
|
template
|
struct B : A {
|
struct B : A {
|
B();
|
B();
|
}; // { dg-bogus "" } B>
|
}; // { dg-bogus "" } B>
|
|
|
template
|
template
|
struct C {
|
struct C {
|
C();
|
C();
|
};
|
};
|
|
|
template
|
template
|
struct D {
|
struct D {
|
D();
|
D();
|
B > p_f;
|
B > p_f;
|
};
|
};
|
|
|
typedef D Dummy;
|
typedef D Dummy;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.