10 lines
138 B
Matlab

function test()
a = 5;
b = 10;
c = a + b;
disp(c)
% Intentional error: undefined variable
disp(undefinedVar)
end