add template_default_pointer broken case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
96b723b0da
commit
2f1bf5cac4
2 changed files with 14 additions and 0 deletions
|
|
@ -49,8 +49,10 @@ CPP_TEST_BROKEN += \
|
|||
namespace_union \
|
||||
nested_comment \
|
||||
overload_complicated \
|
||||
template_broken \
|
||||
template_expr
|
||||
|
||||
|
||||
# Broken C test cases. (Can be run individually using make testcase.ctest.)
|
||||
C_TEST_BROKEN += \
|
||||
tag_no_clash_with_variable
|
||||
|
|
|
|||
12
Examples/test-suite/template_default_pointer.i
Normal file
12
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