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; }; }