Renamed 'immutable' test-case to 'immutable_values'.
This is a part of the pending merge of the D module, where 'immutable' is a keyword (and thus not a valid module name). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f6cab0170a
commit
ee1c2f3ef0
2 changed files with 2 additions and 2 deletions
20
Examples/test-suite/immutable_values.i
Normal file
20
Examples/test-suite/immutable_values.i
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// test to make sure setters are not generated for constants
|
||||
|
||||
%module immutable_values
|
||||
|
||||
|
||||
%immutable;
|
||||
%mutable;
|
||||
|
||||
%inline %{
|
||||
#define ABC -11
|
||||
enum count {Zero, One, Two}; %}
|
||||
|
||||
|
||||
%clearimmutable;
|
||||
|
||||
%inline %{
|
||||
#define XYZ -22
|
||||
enum backwards {Tre=3, Duo=2, Uno=1};
|
||||
%}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue