diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.gb/scope11.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.gb/scope11.C | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.gb/scope11.C b/gcc/testsuite/g++.old-deja/g++.gb/scope11.C deleted file mode 100644 index 19229df9f25..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.gb/scope11.C +++ /dev/null @@ -1,28 +0,0 @@ -// Build don't link: -// GROUPS passed gb scope -template<class T, int N> class fixed_array { -public: - T _array[N]; -}; - -class Hash { -public: - Hash (int); -}; - -typedef fixed_array<char, 4> ipAddress_t; - -class IPAddress { -protected: - long _i; -public: - IPAddress (ipAddress_t ip) { } - IPAddress () { } - IPAddress netMask () { return *this; } - operator Hash (); -}; - -IPAddress::operator Hash () -{ - return Hash (_i); -} |