view test/bug-44940/bug-44940.tst @ 21189:47765afaf131

style fixes for oct-conf-post.in.h * oct-conf-post.in.h: Use C-style comments for config file. Indent preprocessor blocks. Use "if defined" consistently instead of ifdef.
author John W. Eaton <jwe@octave.org>
date Thu, 04 Feb 2016 00:40:14 -0500
parents 38487298513b
children ecce63c99c3f
line wrap: on
line source

%!test
%! a = class_bug44940 ();
%! b = a;
%! c = a ();
%! a.child = 100;
%! assert (a.child, b.child)
%! assert (a.child, c.child)
%! c.child = 500;
%! assert (a.child, b.child)
%! assert (a.child, c.child)