blob: 471709287ef7b232eddccf87875811f97c003fe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// 981204 bkoz
// g++/17922
// Build don't link:
class base { };
struct derived : public base {
derived (const derived&);
derived (const base&);
};
class tahiti {
public:
static void mf (derived);
};
void foo (const derived aaa) {
tahiti::mf(aaa);
}
|