data/full_repos/permissive/143278/ivltests/function2.v
 line:13: before: "$"
data/verilator_xmls/57467439-39f2-4aaa-80ce-3755142b4fe7.xml
module main;

        reg     [31:0]  tmp1;
        reg     [31:0]  tmp2;

        function [31:0] test;
                input   [31:0]  op1;

                $write("op1 = %h\n", op1);

        endfunction

        initial
        begin
                tmp1 = 'hdeadbeef;
                tmp2 = test(tmp1);
                $display("PASSED");
        end

endmodule
module main;


        reg     [31:0]  tmp1;
        reg     [31:0]  tmp2;

        function [31:0] test;
                input   [31:0]  op1;

                $write("op1 = %h\n", op1);

        endfunction

        initial
        begin
                tmp1 = 'hdeadbeef;
                tmp2 = test(tmp1);
                $display("PASSED");
        end

endmodule