Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.mike / p418.C
blob412884071ff44a112e4a4915b8070a71dffe1b31
1 // { dg-do assemble  }
2 // prms-id: 418
4 class Base {
5 public:
6         int foo;
7 };
9 class Derived : public Base {
10 public:
11         int bar;
14 void func(Base&);               // { dg-error "" } referenced by error below
16 void func2(const Derived& d) {
17         func(d);                // { dg-error "" } should be error because of const