more using+namespaces cases

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-26 00:22:50 +00:00
commit bb900b3e10

View file

@ -19,6 +19,11 @@
{ {
return 1; return 1;
} }
int value2() const
{
return 2;
}
}; };
} }
@ -43,12 +48,8 @@ namespace hello
{ {
struct hi1 : private hello::Hi< hello::Hello, hi0 > struct hi1 : private hello::Hi< hello::Hello, hi0 >
{ {
// This works using hello::Hi< hello::Hello, hi::hi0 >::value1;
// using hello::Hi< hello::Hello, hi::hi0 >::value1; using hello::Hi< hello::Hello, hi0 >::value2;
// This doesn't
using hello::Hi< hello::Hello, hi0 >::value1;
}; };
} }