package_scope_conflict_4.sv 170 Bytes
Newer Older
1 2 3 4 5 6 7 8
// pattern: import of P::X conflicts with prior declaration of X
package P;
    localparam X = 1;
endpackage
module top;
    localparam X = 2;
    import P::X;
endmodule