From 8d9eb1141f0c6ffd846e3c8962a2e6fa92c68e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 15 Jul 1998 12:17:53 +0000 Subject: New test case. From-SVN: r21194 --- gcc/testsuite/g++.old-deja/g++.ns/alias6.C | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.ns/alias6.C (limited to 'gcc') diff --git a/gcc/testsuite/g++.old-deja/g++.ns/alias6.C b/gcc/testsuite/g++.old-deja/g++.ns/alias6.C new file mode 100644 index 0000000..130d51e --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.ns/alias6.C @@ -0,0 +1,16 @@ +namespace A { + int i; + void f(){} +} + +main () +{ + namespace B = A; + B::i=42; + B::f(); + using namespace B; + f(); +} + +namespace B {} + -- cgit v1.1