Mercurial > octave
view test/bug-55758/class_bug_55758.m @ 31232:adfbd487d0f6 stable
GitHub-CI (CodeQL): Update to CodeQL action version v2.
* .github/workflows/codeql-analysis.yaml: CodeQL action version v1 is
deprecated. Update to CodeQL action version v2.
See: https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 19 Sep 2022 13:13:31 +0200 |
parents | ab9520ef3895 |
children |
line wrap: on
line source
classdef class_bug_55758 < handle properties value endproperties methods function self = class_bug_55758 (val) if (nargin < 1) val = 0; endif self.value = val; endfunction function delete (self) global class_bug_55758_dtor_called; class_bug_55758_dtor_called = true; endfunction function ret = subsref (self, idx) ret = self.value; endfunction endmethods endclassdef