2 // Error: Internal Compiler Error in GCC 2.7.2 and EGCS 1998/05/28 snapshot.
10 virtual void func(base_func_args &) = 0; // { dg-error "" } referenced below
13 class some_base::base_func_args
19 class some_derived : public some_base
20 { // { dg-error "" } note
22 class derived_func_args;
23 void func(derived_func_args &);
27 class derived_func_args : public some_base::base_func_args
33 class some_derived::func(derived_func_args &a) // { dg-error "" } illegal member syntax
35 std::cout << a.i << ' ' << a.f << std::endl;
41 some_derived d; // { dg-error "" } abstract class
42 some_derived::derived_func_args dfa; // { dg-error "" } incomplete class
47 b->func(dfs); // { dg-error "" } dfs not declared