summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Examples/test-suite/preproc_defined.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/preproc_defined.i b/Examples/test-suite/preproc_defined.i
index 401666806..9ae884691 100644
--- a/Examples/test-suite/preproc_defined.i
+++ b/Examples/test-suite/preproc_defined.i
@@ -141,7 +141,7 @@ void another_macro_checking(void) {
* https://gcc.gnu.org/onlinedocs/gcc-4.8.5/cpp/Self-Referential-Macros.html
*/
%inline %{
-int y = 0;
+const int y = 0;
%}
#define x (4 + y)