New test case
authorMartin v. Löwis <loewis@gcc.gnu.org>
Wed, 3 Mar 1999 11:23:47 +0000 (11:23 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Wed, 3 Mar 1999 11:23:47 +0000 (11:23 +0000)
From-SVN: r25561

gcc/testsuite/g++.old-deja/g++.ns/using13.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.ns/using13.C b/gcc/testsuite/g++.old-deja/g++.ns/using13.C
new file mode 100644 (file)
index 0000000..c1e96ad
--- /dev/null
@@ -0,0 +1,23 @@
+namespace A{
+ void foo(int){}
+}
+namespace B{
+  void foo(bool){}
+}
+
+void bar()
+{
+  using B::foo;
+  using A::foo;
+  foo(true);
+}
+
+namespace Foo {
+  template<class N> void Hello(N) {}
+}
+
+int main() {
+  using Foo::Hello;
+  Hello(4);
+  bar();
+}