view test/bug-49379/bug-49379.tst @ 31214:19bd1953fc1d stable

GitHub-CI: Remove ubuntu-18.04 runners from build matrix. * .github/workflow/make.yaml (ubuntu): GitHub-hosted runners for ubuntu-18.04 are being deprecated. Remove them from build matrix. See also: https://github.com/actions/runner-images/issues/6002
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 30 Aug 2022 11:16:27 +0200
parents 976a7a350274
children
line wrap: on
line source

%!test <49379>
%! a1 = 1;
%! a2 = 2;
%! obj = class_bug49379 (a1, a2);
%! assert (obj.ctor_arg_names (), {"a1", "a2"})
%! meth (obj, a2, a1);
%! assert (obj.meth_arg_names (), {"obj", "a2", "a1"})
%! obj.meth (a2, a1);
%! assert (obj.meth_arg_names (), {"obj", "a2", "a1"})