[middle-end PATCH] Prefer PLUS over IOR in RTL expansion of multi-word shifts/rotates.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p418.C
blob544d5ca3953451f04e7082a80e632bb587a3d9a5
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-message "" } referenced by error below
16 void func2(const Derived& d) {
17         func(d);                // { dg-error "" } should be error because of const