diff options
Diffstat (limited to 'Examples/test-suite/template_arg_scope.i')
-rw-r--r-- | Examples/test-suite/template_arg_scope.i | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Examples/test-suite/template_arg_scope.i b/Examples/test-suite/template_arg_scope.i new file mode 100644 index 000000000..36b593c3d --- /dev/null +++ b/Examples/test-suite/template_arg_scope.i @@ -0,0 +1,16 @@ +%module template_arg_scope +%inline %{ + +template<class T> class Foo { +}; + +class Bar { +public: + Bar(); + void spam(Foo<Bar> *x); +}; +Bar::Bar() {} +void Bar::spam(Foo<Bar> *x) {} + +%} + |