aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/ns11.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.ns/ns11.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ns/ns11.C19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/ns11.C b/gcc/testsuite/g++.old-deja/g++.ns/ns11.C
deleted file mode 100644
index ffc5acbb839..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.ns/ns11.C
+++ /dev/null
@@ -1,19 +0,0 @@
-// Build don't link
-// Check [namespace.memdef]/2
-
-namespace A{
- void f(int);
- void f(int,int);
- int i; // ERROR - .*
-}
-
-void A::f(){} // ERROR - should have been declared before
-
-namespace B{
- void A::f(int){} // ERROR - B does not surround A
-}
-
-int A::i; // ERROR - redefinition
-
-void A::f(int,int){} // ok
-