URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 32 Jan 2003
|
// Contributed by Nathan Sidwell 32 Jan 2003
|
|
|
// PR 795. fields are not necessarily a dependent type.
|
// PR 795. fields are not necessarily a dependent type.
|
|
|
struct V
|
struct V
|
{
|
{
|
template T get ();
|
template T get ();
|
};
|
};
|
|
|
struct L
|
struct L
|
{
|
{
|
V v;
|
V v;
|
|
|
template T at (int i)
|
template T at (int i)
|
{
|
{
|
return v.get ();
|
return v.get ();
|
}
|
}
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.