blob: b890a344c8060ec2fcee0e358549b9df03bb6784 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// base class lookup
//
include "test-007-base.cli";
class c1 {};
class c2: c1 {};
class c3: ::c1 {};
namespace n1
{
class c4 {};
class c5: c4 {};
class c6: n1::c4 {};
class c7: ::n1::c4 {};
class c8: b2 {}; // From included.
class c9: i1::b3 {}; // From included.
namespace i1
{
class c10: c4 {}; // Outer scope.
class c11: b3 {}; // From included.
class c12: b2 {}; // Outer scope from included.
class c4: n1::c4 {}; // Qualified name from outer scope.
}
}
class c13: n1::c4 {};
class c14: ::n1::c4 {};
|