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:
parent
fb9750698f
commit
d1dc016b68
1 changed files with 6 additions and 6 deletions
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
// These should not emit an Identifer redefined warning
|
||||
%inline %{
|
||||
typedef unsigned int size_t;
|
||||
namespace std {
|
||||
using ::size_t;
|
||||
typedef unsigned int my_size_t;
|
||||
namespace Std {
|
||||
using ::my_size_t;
|
||||
}
|
||||
using std::size_t;
|
||||
typedef unsigned int size_t;
|
||||
using std::size_t;
|
||||
using Std::my_size_t;
|
||||
typedef unsigned int my_size_t;
|
||||
using Std::my_size_t;
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue