OSDN Git Service

* cp-tree.h (lang_decl_flags): Rename saved_inline to deferred.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / ref5.C
1 // Build don't link:
2
3 int i;
4 int &const j = i;               // ERROR - invalid const
5 int &const f();                 // ERROR - invalid const
6 void g ()
7 {
8   j = 1;
9   f() = 1;
10 }