2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash21.C
blob62ba7f9469d5b6c258b5a43012e3ed99a5cc87b9
1 // { dg-do assemble  }
2 // Origin: Gabriel Dos Reis <gdr@codesourcery.com>
4 struct  A {
5   virtual void f(int&) const;
6 };
8 struct B : public A {
9   int x;
12 void B::f(int& t) { // { dg-error "" } undeclared method
13   x = t;