New test case - passing arrays by reference (needs fixing)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
09fcd7111b
commit
cc77dfe436
2 changed files with 15 additions and 0 deletions
14
Examples/test-suite/arrayref.i
Normal file
14
Examples/test-suite/arrayref.i
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// A function that passes arrays by reference
|
||||
|
||||
%module arrayref
|
||||
|
||||
%inline %{
|
||||
|
||||
void foo(const int (&x)[10]) {
|
||||
}
|
||||
|
||||
void bar(int (&x)[10]) {
|
||||
}
|
||||
%}
|
||||
|
||||
|
||||
|
|
@ -43,6 +43,7 @@ DYNAMIC_LIB_PATH = $(RUNTIMEDIR):.
|
|||
# C++ test cases. (Can be run individually using make testcase.cpptest.)
|
||||
|
||||
CPP_TEST_BROKEN = \
|
||||
arrayref \
|
||||
abstract_typedef \
|
||||
namespace_nested \
|
||||
template_default_arg \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue