// Check that binding a const variable to a module inout port fails. module M( inout integer x ); assign x = 20; endmodule module test; const integer x = 10; M i_m ( .x (x) ); initial begin $display("FAILED"); end endmodule