URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// Test that pushing into a namespace for a definition doesn't affect
|
// Test that pushing into a namespace for a definition doesn't affect
|
// template instantiations.
|
// template instantiations.
|
|
|
|
|
namespace N {
|
namespace N {
|
template void f () { }
|
template void f () { }
|
template struct A { friend void f(); };
|
template struct A { friend void f(); };
|
}
|
}
|
|
|
namespace M {
|
namespace M {
|
struct B;
|
struct B;
|
}
|
}
|
|
|
struct M::B: public N::A { };
|
struct M::B: public N::A { };
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.