## Code to reproduce: 
## x = bug56883 ();
## str = "abc";
## x.show_inputname (str);
## => [], []
## 
## Expected
## [obj], [myvar]
##
## Try 
## show_inputname (x, str)
## => [obj], [myvar]
classdef bug56883
  methods
    function show_inputname (obj, x)
      printf('[%s]\n', inputname(1));
      printf('[%s]\n', inputname(2));
    end
  end
end
