diff --git a/Examples/test-suite/typedef_scope.i b/Examples/test-suite/typedef_scope.i index 65adc8df8..5c04d6c5a 100644 --- a/Examples/test-suite/typedef_scope.i +++ b/Examples/test-suite/typedef_scope.i @@ -15,6 +15,22 @@ public: return data; } }; + + + +class Foo +{ +}; + +typedef Foo FooBar; + +class CBaz +{ +public: + typedef FooBar Foo; +}; + + %} diff --git a/Examples/test-suite/using2.i b/Examples/test-suite/using2.i index 29fee1b1c..8542719a1 100644 --- a/Examples/test-suite/using2.i +++ b/Examples/test-suite/using2.i @@ -1,5 +1,9 @@ %module using2 +%warnfilter(315); + +using ::baz; + %warnfilter(801) X::_FooImpl; /* Ruby, wrong class name */ %inline %{ @@ -19,4 +23,5 @@ using Y::Foo; int spam(Foo::value_type x) { return x; } + %}