diff --git a/integration_tests/macros_test.ucg b/integration_tests/macros_test.ucg index c6392be..43cd377 100644 --- a/integration_tests/macros_test.ucg +++ b/integration_tests/macros_test.ucg @@ -43,4 +43,16 @@ assert | |; assert | cplxresult.boolfield == true; +|; + +let macro_tpl_arg = macro(tpl) => { + result = tpl.field, +}; + +let arg_tpl = { + field = "value", +}; + +assert | + macro_tpl_arg(arg_tpl).result == arg_tpl.field; |; \ No newline at end of file