     doit() if cond1 if cond2
 """
 
+ast.if4
+
 src.string1 = """
     x = "string"
 """

                print "Warning, unused regex '#{regex}'\n"
    return tests

# Run one test.
# name: name of the test. The test must fail iff the name starts with "fail_".
# src:  source string of the test.
# ast:  AST that must be produced as a result (optional).
# logger: what to do if a test fails.
runTest = (name, src, ast, logger) ->
    logger ?= print
    print "\n***** Test #{name} *****\n"

        print "\n#{name} input:\n#{src}\n\n#{name} result:\n#{toIndentedString t}\n"
        return true

#-------------------------------------------------------------------------------
# Main
#-------------------------------------------------------------------------------
main = (args) ->

    log = [ ]
