URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do run }
|
// { dg-do run }
|
// { dg-options "" }
|
// { dg-options "" }
|
// Origin: Mark Mitchell
|
// Origin: Mark Mitchell
|
|
|
template
|
template
|
struct O {
|
struct O {
|
typedef char X;
|
typedef char X;
|
};
|
};
|
|
|
template
|
template
|
struct S {
|
struct S {
|
typedef double X;
|
typedef double X;
|
|
|
template
|
template
|
struct I : public O {
|
struct I : public O {
|
static X x;
|
static X x;
|
};
|
};
|
};
|
};
|
|
|
template
|
template
|
template
|
template
|
typename S::X S::I::x;
|
typename S::X S::I::x;
|
|
|
int main()
|
int main()
|
{
|
{
|
return sizeof (S::I::x) == 1;
|
return sizeof (S::I::x) == 1;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.