AST: don't hang when using auto in new statement