blob: 9c4c012a8fa541c37f37d4c742c5f5f8eae5d192 [file] [log] [blame]
`celldefine
module test;
`ifdef first_block
`ifndef second_nest
initial $display("first_block is defined");
`else
initial $display("first_block and second_nest defined");
`endif
`elsif second_block
initial $display("second_block defined, first_block is not");
`else
`ifndef last_result
initial $display("first_block, second_block, last_result not .");
`elsif real_last
initial $display("first_block, second_block not defined,
last_result and real_last defined.");
`else
initial $display("Only last_result defined!");
`endif
`endif
endmodule
`endcelldefine