* arm.c (FL_WBUF): Define.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / scope4.C
blob2729ca6e6f70775cca10b3eb5358af62e0824b5e
1 // { dg-do assemble  }
2 // GROUPS passed scoping
3 class BitString {
4 public:
5     int i;
6     int length() const;
7 };
9 typedef BitString BS;
11 class V {
12 public:
13     class BitString {
14     public:
15         static int x(const ::BitString& value);
16       static int y(const class ::BitString& value); // should be parsed ok
17         static int z(const BS& value);
18     };
21 int
22 V::BitString::x(const ::BitString& value)
23 { return value.length(); }
25 int
26 V::BitString::y(const class ::BitString& value) // should be parsed ok
27 { return value.length(); }
29 int
30 V::BitString::z(const BS& value)
31 { return value.length(); }