read_verilog -sv <<EOF
module Example #(
    parameter X
);
endmodule
module top;
    Example e();
endmodule
EOF

logger -expect error "Parameter `\\X' has no default value and has not been overridden!" 1
hierarchy -top top