warning fixes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-02-03 21:38:07 +00:00
commit b9a83129c6

View file

@ -19,13 +19,15 @@
// typename t_alloc<t_item>::alloc_type allotype; // SWIG can't handle this yet
void xx() {
typename t_alloc<t_item>::alloc_type atype; // this type is the same as t_item type
atype = 10;
atype = true;
}
};
void TestInstantiations() {
pfc::array_t<int, pfc::alloc_fast> myArrayInt;
list_impl_t<int, pfc::array_t<int, pfc::alloc_fast> > myListImplInt;
(void) myArrayInt;
(void) myListImplInt;
}
%}