data/full_repos/permissive/143278/ivltests/pr1528093.v
1: b'%Error: data/full_repos/permissive/143278/ivltests/pr1528093.v:11: Expected integral (non-real) input to MODDIV\n                                                                 : ... In instance main\n      bar = x % y;\n            ^\n%Warning-REALCVT: data/full_repos/permissive/143278/ivltests/pr1528093.v:11: Implicit conversion of real to integer\n      bar = x % y;\n            ^\n                  ... Use "/* verilator lint_off REALCVT */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/143278/ivltests/pr1528093.v:11: Expected integral (non-real) input to MODDIV\n                                                                 : ... In instance main\n      bar = x % y;\n                ^\n%Warning-REALCVT: data/full_repos/permissive/143278/ivltests/pr1528093.v:11: Implicit conversion of real to integer\n      bar = x % y;\n                ^\n%Error: Exiting due to 2 error(s), 2 warning(s)\n'
module main;

   real x;
   real y;

   real bar;

   initial begin
      x = 5.0;
      y = 10.0;
      bar = x % y;
      $display("bar=%f", bar);

      if (bar != 5.0) begin
	 $display("FAILED -- x %% y --> %f (s.b. 5.0)", bar);
	 $finish;
      end

      $display("PASSED");
   end
endmodule
module main;


   real x;
   real y;

   real bar;

   initial begin
      x = 5.0;
      y = 10.0;
      bar = x % y;
      $display("bar=%f", bar);

      if (bar != 5.0) begin
	 $display("FAILED -- x %% y --> %f (s.b. 5.0)", bar);
	 $finish;
      end

      $display("PASSED");
   end
endmodule