URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// Origin: Alex Samuel
|
// Origin: Alex Samuel
|
|
|
namespace NS
|
namespace NS
|
{
|
{
|
|
|
template
|
template
|
struct Base
|
struct Base
|
{
|
{
|
};
|
};
|
|
|
template
|
template
|
struct Z
|
struct Z
|
{
|
{
|
const static int value_ = false;
|
const static int value_ = false;
|
};
|
};
|
|
|
struct Outer
|
struct Outer
|
{
|
{
|
template
|
template
|
struct A :
|
struct A :
|
public Base ::value_>
|
public Base ::value_>
|
{
|
{
|
};
|
};
|
};
|
};
|
|
|
template
|
template
|
void f(T)
|
void f(T)
|
{
|
{
|
}
|
}
|
|
|
}
|
}
|
|
|
|
|
template class U>
|
template class U>
|
struct B
|
struct B
|
{
|
{
|
};
|
};
|
|
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
B ba;
|
B ba;
|
f (ba); // Koenig lookup
|
f (ba); // Koenig lookup
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.