Error test-suite updated for nested changes
WARN_DEPRECATED_NESTED_WORKAROUND test added WARN_PARSE_NAMED_NESTED_CLASS test removed
This commit is contained in:
parent
257a9865e9
commit
82990df573
4 changed files with 23 additions and 18 deletions
20
Examples/test-suite/errors/cpp_nested_template.i
Normal file
20
Examples/test-suite/errors/cpp_nested_template.i
Normal file
|
|
@ -0,0 +1,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>;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue