Fix test case so it doesn't clash with the real size_t

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-10-25 06:53:07 +00:00
commit d1dc016b68

View file

@ -2,12 +2,12 @@
// These should not emit an Identifer redefined warning // These should not emit an Identifer redefined warning
%inline %{ %inline %{
typedef unsigned int size_t; typedef unsigned int my_size_t;
namespace std { namespace Std {
using ::size_t; using ::my_size_t;
} }
using std::size_t; using Std::my_size_t;
typedef unsigned int size_t; typedef unsigned int my_size_t;
using std::size_t; using Std::my_size_t;
%} %}