/usr/share/freemat/toolbox/test/chain2.m is in freemat-data 4.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3
function chain2(d) d = d + 5; chain3