Files
ANSLibs/swig-4.3.0/Examples/test-suite/errors/cpp_nested_template.i

21 lines
207 B
OpenEdge ABL
Raw Normal View History

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