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