URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O" } */
|
/* { dg-options "-O" } */
|
|
|
struct iterator{};
|
struct iterator{};
|
struct ByteIterator : iterator
|
struct ByteIterator : iterator
|
{
|
{
|
ByteIterator (){}
|
ByteIterator (){}
|
int a[1024];
|
int a[1024];
|
};
|
};
|
inline ByteIterator f ()
|
inline ByteIterator f ()
|
{
|
{
|
return ByteIterator ();
|
return ByteIterator ();
|
}
|
}
|
class ConfLexerCore
|
class ConfLexerCore
|
{
|
{
|
ConfLexerCore ();
|
ConfLexerCore ();
|
ByteIterator m_matchStart;
|
ByteIterator m_matchStart;
|
};
|
};
|
ConfLexerCore::ConfLexerCore ()
|
ConfLexerCore::ConfLexerCore ()
|
: m_matchStart (f ())
|
: m_matchStart (f ())
|
{ }
|
{ }
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.