Fix all tests that fail with -sanitize=return.
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr28238.C
blob97e388fbd321cb20dde5507e6f0dc7232befa63a
1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
4 struct iterator{};
5 struct ByteIterator : iterator
7         ByteIterator (){}
8         int a[1024];
9 };
10 inline ByteIterator f ()
12         return  ByteIterator ();
14 class ConfLexerCore
16         ConfLexerCore ();
17         ByteIterator m_matchStart;
19 ConfLexerCore::ConfLexerCore ()
20 : m_matchStart (f ())
21 { }