new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a6cc80a99b
commit
18c3b8ee11
2 changed files with 14 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ DYNAMIC_LIB_PATH = $(RUNTIMEDIR):.
|
|||
# C++ test cases. (Can be run individually using make testcase.cpptest.)
|
||||
|
||||
CPP_TEST_BROKEN = \
|
||||
template_arg_replace \
|
||||
abstract_typedef \
|
||||
namespace_nested \
|
||||
template_default_arg \
|
||||
|
|
|
|||
13
Examples/test-suite/template_arg_replace.i
Normal file
13
Examples/test-suite/template_arg_replace.i
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
%module template_arg_replace
|
||||
|
||||
%inline %{
|
||||
|
||||
template <typename T, int r, int c> class Matrix {
|
||||
public:
|
||||
void Func(const Matrix<T,r,c> &m) { };
|
||||
};
|
||||
%}
|
||||
|
||||
%template (matrix33f) Matrix<float,3, 3>;
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue