OSDN Git Service

* g++.old-deja/g++.other/eh4.C: Fix typo.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / ref2.C
1 // Build don't link:
2 // Origin: Jason Merrill <jason@cygnus.com>
3
4   struct A {
5     int operator * ();
6   };
7   struct B : public A { };
8   int operator * (B &);
9
10   int main ()
11   {
12     B b;
13     B& br = b;
14     *br;
15   }