summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tree-ssa/pr28238.C
blob: 97e388fbd321cb20dde5507e6f0dc7232befa63a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do compile } */
/* { dg-options "-O" } */

struct iterator{};
struct ByteIterator : iterator
{
        ByteIterator (){}
        int a[1024];
};
inline ByteIterator f ()
{
        return  ByteIterator ();
}
class ConfLexerCore
{
        ConfLexerCore ();
        ByteIterator m_matchStart;
};
ConfLexerCore::ConfLexerCore ()
: m_matchStart (f ())
{ }