diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/access6.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/access6.C | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/access6.C b/gcc/testsuite/g++.old-deja/g++.other/access6.C deleted file mode 100644 index 7a7c7ff5941..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.other/access6.C +++ /dev/null @@ -1,17 +0,0 @@ -// Build don't link: - -template <int I> -struct S { - void g(); -}; - -class C { - static const int i = 3; // gets bogus error - private - XFAIL *-*-* -public: - S<C::i>* f(); // gets bogus error - redeclared - XFAIL *-*-* -}; - -S<C::i>* C::f() { // gets bogus error - private - XFAIL *-*-* - return 0; -} - |