summaryrefslogtreecommitdiff
path: root/Examples/test-suite/template_arg_scope.i
blob: 36b593c3d9ddde0ef46c5767632b0fe0e5ad2209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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) {}

%}