Don't treat `restrict' as a reserved identifier in C++ mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e6611209f6
commit
07ae5a2aca
4 changed files with 13 additions and 4 deletions
|
|
@ -220,6 +220,7 @@ CPP_TEST_CASES += \
|
|||
reference_global_vars \
|
||||
register_par \
|
||||
rename_scope \
|
||||
restrict_cplusplus \
|
||||
return_const_value \
|
||||
return_value_scope \
|
||||
rname \
|
||||
|
|
|
|||
7
Examples/test-suite/restrict_cplusplus.i
Normal file
7
Examples/test-suite/restrict_cplusplus.i
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
%module restrict_cplusplus
|
||||
|
||||
%inline %{
|
||||
struct foo {
|
||||
int restrict;
|
||||
};
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue