module macro_arg_spaces_top(
input wire [31:0] i,
output wire [31:0] x, y, z
);
`define BAR(a) a
`define FOO(a = function automatic [31:0] f) a
`BAR(function automatic [31:0] a);
input [31:0] i;
a = i * 2;
endfunction
`FOO();
f = i * 3;
`FOO(function automatic [31:0] b);
b = i * 5;
assign x = a(i);
assign y = f(i);
assign z = b(i);
endmodule