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:
William S Fulton 2003-01-31 22:01:53 +00:00
commit cc77dfe436
2 changed files with 15 additions and 0 deletions

View 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]) {
}
%}

View file

@ -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 \