view test/bug-55758/class_bug_55758.m @ 31390:2c037ce00450 stable release-7-3-0

Version 7.3.0 released. * configure.ac (AC_INIT): Set version to 7.3.0. (OCTAVE_MINOR_VERSION): Now 3. (OCTAVE_PATCH_VERSION): Now 0. (OCTAVE_RELEASE_DATE): Set to "2022-11-02". * org.octave.Octave.appdata.xml: Add release info for version 7.3.0. * CITATION: Update for 7.3.0. * NEWS.7.md: Update release date.
author John W. Eaton <jwe@octave.org>
date Wed, 02 Nov 2022 14:19:56 -0400
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