NAME ^

t/codingstd/returns.t - checks for possible use of return (foo); from functions

SYNOPSIS ^

    # test all files
    % prove t/codingstd/returns.t

    # test specific files
    % perl t/codingstd/returns.t src/foo.c include/parrot/bar.h

DESCRIPTION ^

Checks that all C language source files return using return foo; rather than return (foo);

NOTES ^

This test was hacked from the check_returns sub in tools/dev/check_source_standards.pl

SEE ALSO ^

"pdds/pdd07_codingstd.pod" in docs


parrot