added more test cases and broken ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
60d7c9aa60
commit
f1ad655a3e
12 changed files with 218 additions and 4 deletions
25
SWIG/Examples/test-suite/template_expr.i
Normal file
25
SWIG/Examples/test-suite/template_expr.i
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
%module template_expr
|
||||
|
||||
// bug #925555
|
||||
%inline %{
|
||||
|
||||
template<int __stride, class __elementTypeSequence,
|
||||
class __dataPtrType, class __elementType>
|
||||
inline const ThisType &
|
||||
ConcatenationOf(const vctFixedLengthConstSequenceBase<_size - 1,
|
||||
__stride, __elementTypeSequence, __dataPtrType> & other,
|
||||
__elementType last);
|
||||
%}
|
||||
|
||||
// bug #956282
|
||||
%inline %{
|
||||
|
||||
|
||||
template<int q>
|
||||
class X {};
|
||||
|
||||
|
||||
%}
|
||||
|
||||
%template(X_1) X<1>;
|
||||
%template(X_m1) X<-1>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue