/* Test unmatched argument count exception */
proc a(b, c, d)
{
    "d = ", d, '\n';
}

proc main()
{
    try {
        a(1,2);
    } catch(b) {
        "Caught exception\n";
    }
}