function test(x)

    if x < 0
        error("This is not allowed.");
    end
    disp("End of test.");

end