summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2021-03-20 09:49:30 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2021-03-20 09:49:30 +0000
commit34e663a61af13eec62050d2b105ace418929e289 (patch)
tree0e5481ed97706a0c647a37a165879140a3d2ae6f
parent59af47d3df41602251eb846b03566f222bfc09c3 (diff)
downloadswig-34e663a61af13eec62050d2b105ace418929e289.tar.gz
Test a different C# keyword rename
Worked around warning in java jdk-15: warning: 'sealed' may become a restricted type name in a future release and may be unusable for type declarations or as the element type of an array Adding sealed to the list of automatically renamed keywords in Java does not seem prudent.
-rw-r--r--Examples/test-suite/keyword_rename.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/keyword_rename.i b/Examples/test-suite/keyword_rename.i
index 23c01087d..645f02661 100644
--- a/Examples/test-suite/keyword_rename.i
+++ b/Examples/test-suite/keyword_rename.i
@@ -27,7 +27,7 @@ KW(synchronized, final)
/* C# Keywords */
KW(string, out)
-struct sealed {int i;};
+struct stackalloc {int i;};
/* Go Keywords */
KW(go, defer)