From bb900b3e101a94eb46160ff40c1f10c35562002f Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Tue, 26 Oct 2004 00:22:50 +0000 Subject: [PATCH] more using+namespaces cases git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6507 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/using_namespace.i | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Examples/test-suite/using_namespace.i b/Examples/test-suite/using_namespace.i index 8b1e9b7e0..da0c4d692 100644 --- a/Examples/test-suite/using_namespace.i +++ b/Examples/test-suite/using_namespace.i @@ -19,6 +19,11 @@ { return 1; } + + int value2() const + { + return 2; + } }; } @@ -43,12 +48,8 @@ namespace hello { struct hi1 : private hello::Hi< hello::Hello, hi0 > { - // This works - // using hello::Hi< hello::Hello, hi::hi0 >::value1; - - // This doesn't - using hello::Hi< hello::Hello, hi0 >::value1; - + using hello::Hi< hello::Hello, hi::hi0 >::value1; + using hello::Hi< hello::Hello, hi0 >::value2; }; }