OSDN Git Service

* cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / inline10.C
1 // Build don't link:
2 // Special g++ Options: -O2
3 // Origin: Mark Mitchell <mark@codesourcery.com>
4
5 struct S
6 {
7 };
8
9 inline const S f () 
10 {
11   return S ();
12 }
13
14 void g ()
15 {
16   S s;
17   f ();
18 }