| parrotcode: checks for possible use of C<return (foo);> from functions | |
| Contents | Tests | 

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

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

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

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

|  |   |