From 4cdea27381507e52775c8d844ebc9522ded33f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 3 Mar 1999 11:23:47 +0000 Subject: [PATCH] New test case From-SVN: r25561 --- gcc/testsuite/g++.old-deja/g++.ns/using13.C | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.ns/using13.C 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 index 00000000000..c1e96adcc96 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.ns/using13.C @@ -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 void Hello(N) {} +} + +int main() { + using Foo::Hello; + Hello(4); + bar(); +}