diff options
Diffstat (limited to 'Examples/test-suite/octave/using_protected_runme.m')
| -rw-r--r-- | Examples/test-suite/octave/using_protected_runme.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Examples/test-suite/octave/using_protected_runme.m b/Examples/test-suite/octave/using_protected_runme.m new file mode 100644 index 0000000..ed4b1c3 --- /dev/null +++ b/Examples/test-suite/octave/using_protected_runme.m @@ -0,0 +1,8 @@ +using_protected + +f = FooBar(); +f.x = 3; + +if (f.blah(4) != 4) + error("blah(int)") +endif |
