add template_default_pointer broken case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5b55c3af45
commit
bfb7ccbd90
2 changed files with 14 additions and 0 deletions
|
|
@ -49,8 +49,10 @@ CPP_TEST_BROKEN += \
|
||||||
namespace_union \
|
namespace_union \
|
||||||
nested_comment \
|
nested_comment \
|
||||||
overload_complicated \
|
overload_complicated \
|
||||||
|
template_broken \
|
||||||
template_expr
|
template_expr
|
||||||
|
|
||||||
|
|
||||||
# Broken C test cases. (Can be run individually using make testcase.ctest.)
|
# Broken C test cases. (Can be run individually using make testcase.ctest.)
|
||||||
C_TEST_BROKEN += \
|
C_TEST_BROKEN += \
|
||||||
tag_no_clash_with_variable
|
tag_no_clash_with_variable
|
||||||
|
|
|
||||||
12
SWIG/Examples/test-suite/template_default_pointer.i
Normal file
12
SWIG/Examples/test-suite/template_default_pointer.i
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
%module template_default_pointer
|
||||||
|
|
||||||
|
%inline %{
|
||||||
|
|
||||||
|
template <class T1, class T2 = T1*>
|
||||||
|
class B
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
%}
|
||||||
|
|
||||||
|
%template(B_d) B<double>;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue