verilator/test_regress/t/t_pp_dupdef.v
Wilson Snyder 4fb8dcfd4e Convert re-defining macro error to warning.
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1001 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-03-19 15:05:08 +00:00

18 lines
333 B
Verilog

// $Id$
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2008 by Wilson Snyder.
module t;
`define DUP fred
`define DUP barney
`define DUPP paramed(x) (x)
`define DUPP paramed(x,z) (x*z)
initial $stop; // Should have failed
endmodule