]> code.delx.au - gnu-emacs/blob - test/cedet/tests/testdoublens.hpp
Add CEDET tests.
[gnu-emacs] / test / cedet / tests / testdoublens.hpp
1 //
2 // Header file used in one of the ia-utest tests.
3 //
4 namespace Name1 {
5 namespace Name2 {
6
7 class Foo
8 {
9 typedef unsigned int Mumble;
10 public:
11 Foo();
12 ~Foo();
13 int get();
14
15 private:
16 void publishStuff(int a, int b);
17
18 void sendStuff(int a, int b);
19
20 Mumble* pMumble;
21 };
22
23 typedef Foo stage1_Foo;
24
25 } // namespace Name2
26
27 typedef Name2::stage1_Foo stage2_Foo;
28
29 typedef Name2::Foo decl_stage1_Foo;
30
31 } // namespace Name1
32
33 typedef Name1::stage2_Foo stage3_Foo;
34
35
36 // Double namespace from Hannu Koivisto
37 namespace a {
38 namespace b {
39
40 class Foo
41 {
42 struct Dum {
43 int diDum;
44 };
45
46 protected:
47 mutable a::b::Foo::Dum dumdum;
48 };
49
50 } // namespace b
51 } // namespace a