1 /* Examples provided by Sam Kendall <kendall@mv.mv.com>, Jan 1997 */
3 // check use of references with nested/local classes
5 // This example causes etags 13 to abort when compiled with -DDEBUG.
6 // Etags 13 cannot deal with nested structures after the first level.
12 operator int() const {return x;}
31 int A::B::f() { return 2; }
39 if (abc != -37 || abt != -37) return 1;
41 class D : public A::B::C {
43 D() : ::A::T2::T(97), x(1066) {}
47 if (d.x != 1066 || d.A::T2::T::x != 97) return 2;