--TEST-- Function parameters --FILE-- --EXPECTF-- AST_STMT_LIST 0: AST_FUNC_DECL name: "test" docComment: null params: AST_PARAM_LIST 0: AST_PARAM type: null name: "a" default: null 1: AST_PARAM flags: PARAM_VARIADIC (%d) type: null name: "b" default: null stmts: AST_STMT_LIST returnType: null __declId: 0 1: AST_FUNC_DECL name: "test2" docComment: null params: AST_PARAM_LIST 0: AST_PARAM flags: PARAM_REF (%d) type: null name: "a" default: null 1: AST_PARAM flags: PARAM_REF | PARAM_VARIADIC (%d) type: null name: "b" default: null stmts: AST_STMT_LIST returnType: null __declId: 1 2: AST_FUNC_DECL name: "test3" docComment: null params: AST_PARAM_LIST 0: AST_PARAM flags: PARAM_REF (%d) type: AST_TYPE flags: TYPE_ARRAY (%d) name: "a" default: null 1: AST_PARAM flags: PARAM_REF | PARAM_VARIADIC (%d) type: AST_TYPE flags: TYPE_ARRAY (%d) name: "b" default: null stmts: AST_STMT_LIST returnType: null __declId: 2 AST_STMT_LIST 0: AST_FUNC_DECL name: "test" docComment: null params: AST_PARAM_LIST 0: AST_PARAM type: null name: "a" default: null attributes: null docComment: null 1: AST_PARAM flags: PARAM_VARIADIC (%d) type: null name: "b" default: null attributes: null docComment: null stmts: AST_STMT_LIST returnType: null attributes: null __declId: 0 1: AST_FUNC_DECL name: "test2" docComment: null params: AST_PARAM_LIST 0: AST_PARAM flags: PARAM_REF (%d) type: null name: "a" default: null attributes: null docComment: null 1: AST_PARAM flags: PARAM_REF | PARAM_VARIADIC (%d) type: null name: "b" default: null attributes: null docComment: null stmts: AST_STMT_LIST returnType: null attributes: null __declId: 1 2: AST_FUNC_DECL name: "test3" docComment: null params: AST_PARAM_LIST 0: AST_PARAM flags: PARAM_REF (%d) type: AST_TYPE flags: TYPE_ARRAY (%d) name: "a" default: null attributes: null docComment: null 1: AST_PARAM flags: PARAM_REF | PARAM_VARIADIC (%d) type: AST_TYPE flags: TYPE_ARRAY (%d) name: "b" default: null attributes: null docComment: null stmts: AST_STMT_LIST returnType: null attributes: null __declId: 2