New testcase

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-06-01 23:11:11 +00:00
commit 664a3638bb
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,18 @@
%module arrays_dimensionless
%warnfilter(462) globalints; /* Unable to set variable of type int [] */
%warnfilter(462) ints; /* Unable to set variable of type int [] */
%inline %{
int globalints[] = {100, 200, 300};
const int constglobalints[] = {400, 500, 600};
struct Bar {
static int ints[];
};
int Bar::ints[] = {700, 800, 900};
%}

View file

@ -66,10 +66,11 @@ CPP_TEST_CASES += \
anonymous_arg \
anonymous_bitfield \
argout \
array_member \
arrayref \
arrays_dimensionless \
arrays_global \
arrays_global_twodim \
array_member \
arrays_scope \
bloody_hell \
bool_default \