sv-parser/sv-parser-pp/testcases/expected/macro_parameters_multiline.sv
2022-07-21 12:33:57 +02:00

18 lines
320 B
Systemverilog

`define disp(clk, exp, msg) \
always @(posedge clk) begin \
if (!(exp)) begin \
$display msg; \
end \
end \
module a ();
always @(posedge clk) begin
if (!(!(a[i].b && c[i]))) begin
$display ("xxx(()[]]{}}}", a[i].b, c[i]);
end
end
;
endmodule