URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// PR c++/13659
|
// PR c++/13659
|
|
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
namespace bar {
|
namespace bar {
|
namespace foo {
|
namespace foo {
|
template void f(T, T);
|
template void f(T, T);
|
}
|
}
|
using namespace foo __attribute__((strong));
|
using namespace foo __attribute__((strong));
|
template void f(T);
|
template void f(T);
|
}
|
}
|
|
|
int main() {
|
int main() {
|
// Make sure both declarations are brought in.
|
// Make sure both declarations are brought in.
|
using bar::f;
|
using bar::f;
|
f(1);
|
f(1);
|
f(1, 1);
|
f(1, 1);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.