data/full_repos/permissive/143278/ivltests/sv_string2.v
 line:6: before: ";"
data/verilator_xmls/e7e4a948-2239-4c44-9784-82b36d192cc8.xml
module main;

   string foo;
   string bar;

   initial begin
      foo = "foo";
      bar = "bar";

      if (foo != "foo") begin
	 $display("FAILED -- foo=%0s (1)", foo);
	 $finish;
      end

      if (bar != "bar") begin
	 $display("FAILED -- bar=%0s (2)", bar);
	 $finish;
      end

      if (foo == bar) begin
	 $display("FAILED -- %0s == %0s (3)", foo, bar);
	 $finish;
      end

      if (! (foo != bar)) begin
	 $display("FAILED -- ! (%0s != %0s) (4)", foo, bar);
	 $finish;
      end

      if (bar > foo) begin
	 $display("FAILED -- %s > %s (5)", bar, foo);
	 $finish;
      end

      if (bar >= foo) begin
	 $display("FAILED -- %s >= %s (6)", bar, foo);
	 $finish;
      end

      if (foo < bar) begin
	 $display("FAILED -- %s < %s (7)", foo, bar);
	 $finish;
      end

      if (foo <= bar) begin
	 $display("FAILED -- %s <= %s (8)", foo, bar);
	 $finish;
      end

      bar = foo;
      if (foo != bar) begin
	 $display("FAILED -- %0s != %0s (9)", foo, bar);
	 $finish;
      end

      if (foo > bar) begin
	 $display("FAILED -- %0s > %0s (10)", foo, bar);
	 $finish;
      end

      if (foo < bar) begin
	 $display("FAILED -- %0s < %0s (11)", foo, bar);
	 $finish;
      end

      if (! (foo == bar)) begin
	 $display("FAILED -- ! (%0s == %0s) (12)", foo, bar);
	 $finish;
      end

      if (! (foo <= bar)) begin
	 $display("FAILED -- ! (%0s <= %0s) (13)", foo, bar);
	 $finish;
      end

      if (! (foo >= bar)) begin
	 $display("FAILED -- ! (%0s >= %0s) (14)", foo, bar);
	 $finish;
      end

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


   string foo;
   string bar;

   initial begin
      foo = "foo";
      bar = "bar";

      if (foo != "foo") begin
	 $display("FAILED -- foo=%0s (1)", foo);
	 $finish;
      end

      if (bar != "bar") begin
	 $display("FAILED -- bar=%0s (2)", bar);
	 $finish;
      end

      if (foo == bar) begin
	 $display("FAILED -- %0s == %0s (3)", foo, bar);
	 $finish;
      end

      if (! (foo != bar)) begin
	 $display("FAILED -- ! (%0s != %0s) (4)", foo, bar);
	 $finish;
      end

      if (bar > foo) begin
	 $display("FAILED -- %s > %s (5)", bar, foo);
	 $finish;
      end

      if (bar >= foo) begin
	 $display("FAILED -- %s >= %s (6)", bar, foo);
	 $finish;
      end

      if (foo < bar) begin
	 $display("FAILED -- %s < %s (7)", foo, bar);
	 $finish;
      end

      if (foo <= bar) begin
	 $display("FAILED -- %s <= %s (8)", foo, bar);
	 $finish;
      end

      bar = foo;
      if (foo != bar) begin
	 $display("FAILED -- %0s != %0s (9)", foo, bar);
	 $finish;
      end

      if (foo > bar) begin
	 $display("FAILED -- %0s > %0s (10)", foo, bar);
	 $finish;
      end

      if (foo < bar) begin
	 $display("FAILED -- %0s < %0s (11)", foo, bar);
	 $finish;
      end

      if (! (foo == bar)) begin
	 $display("FAILED -- ! (%0s == %0s) (12)", foo, bar);
	 $finish;
      end

      if (! (foo <= bar)) begin
	 $display("FAILED -- ! (%0s <= %0s) (13)", foo, bar);
	 $finish;
      end

      if (! (foo >= bar)) begin
	 $display("FAILED -- ! (%0s >= %0s) (14)", foo, bar);
	 $finish;
      end

      $display("PASSED");
      $finish;
   end
endmodule