Shih-wei Liao | f8fd82b | 2010-02-10 11:10:31 -0800 | [diff] [blame^] | 1 | //-*- C++ -*- |
2 | |||||
3 | // Intended to exercise all syntactic parts of the C++ language that | ||||
4 | // aren't part of C. | ||||
5 | |||||
6 | namespace std { | ||||
7 | namespace debug { | ||||
8 | } | ||||
9 | } | ||||
10 | |||||
11 | using namespace std::debug; | ||||
12 | using namespace std; | ||||
13 | |||||
14 | namespace safestl = ::std::debug; | ||||
15 | |||||
16 | class Base1 { | ||||
17 | }; | ||||
18 | |||||
19 | class Base2 { }; | ||||
20 | |||||
21 | class Derived1 : Base1, virtual public Base2 { }; |