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 |
// PR c++/5658
|
// PR c++/5658
|
|
|
// Copyright (C) 2002 Free Software Foundation, Inc.
|
// Copyright (C) 2002 Free Software Foundation, Inc.
|
// Contributed by Theodore.Papadopoulo 11 Feb 2002
|
// Contributed by Theodore.Papadopoulo 11 Feb 2002
|
|
|
struct A {
|
struct A {
|
typedef int iterator;
|
typedef int iterator;
|
};
|
};
|
template
|
template
|
struct B: public A {
|
struct B: public A {
|
template
|
template
|
struct iterator {
|
struct iterator {
|
};
|
};
|
B() { }
|
B() { }
|
};
|
};
|
int main()
|
int main()
|
{
|
{
|
B a;
|
B a;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.