diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/scope4.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/scope4.C | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/scope4.C b/gcc/testsuite/g++.old-deja/g++.brendan/scope4.C deleted file mode 100644 index a6781abeb62..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/scope4.C +++ /dev/null @@ -1,31 +0,0 @@ -// Build don't link: -// GROUPS passed scoping -class BitString { -public: - int i; - int length() const; -}; - -typedef BitString BS; - -class V { -public: - class BitString { - public: - static int x(const ::BitString& value); - static int y(const class ::BitString& value); // should be parsed ok - static int z(const BS& value); - }; -}; - -int -V::BitString::x(const ::BitString& value) -{ return value.length(); } - -int -V::BitString::y(const class ::BitString& value) // should be parsed ok -{ return value.length(); } - -int -V::BitString::z(const BS& value) -{ return value.length(); } |