blob: d20a9d939294cb6fe952bb0fedd0f6a360d420ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Build don't link:
// GROUPS passed old-abort
struct B
{
void f(char);
void g(char);
};
class C
{
int g();
};// ERROR - warning
class D2 : public B
{
using B::f; // ok: B is a base of D
using C::g; // error: C isn't a base of D2
}; // ERROR - type C is not a base type for type D2
|