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:
Olly Betts 2007-04-16 16:42:00 +00:00
commit 07ae5a2aca
4 changed files with 13 additions and 4 deletions

View file

@ -220,6 +220,7 @@ CPP_TEST_CASES += \
reference_global_vars \
register_par \
rename_scope \
restrict_cplusplus \
return_const_value \
return_value_scope \
rname \

View file

@ -0,0 +1,7 @@
%module restrict_cplusplus
%inline %{
struct foo {
int restrict;
};
%}