summaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/cpp_nested_template.i
blob: ec8cab6b6250ea9ed210ca8dee792dce4f6876ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
%module xxx

template<typename T> struct Temply {
  T thing;
};

struct A {
  int var;
%template(TemplyInt) Temply<int>;
};


struct B {
  int var;
};

%extend B {
%template(TemplyDouble) Temply<double>;
}