summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave/struct_value_runme.m
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/octave/struct_value_runme.m')
-rw-r--r--Examples/test-suite/octave/struct_value_runme.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Examples/test-suite/octave/struct_value_runme.m b/Examples/test-suite/octave/struct_value_runme.m
index 7340a36ec..ff344047e 100644
--- a/Examples/test-suite/octave/struct_value_runme.m
+++ b/Examples/test-suite/octave/struct_value_runme.m
@@ -1,3 +1,8 @@
+# do not dump Octave core
+if exist("crash_dumps_octave_core", "builtin")
+ crash_dumps_octave_core(0);
+endif
+
struct_value
b = struct_value.Bar();