aboutsummaryrefslogtreecommitdiffstats
path: root/tests/verilog/ifdef_nest.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/verilog/ifdef_nest.ys')
-rw-r--r--tests/verilog/ifdef_nest.ys7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/verilog/ifdef_nest.ys b/tests/verilog/ifdef_nest.ys
new file mode 100644
index 000000000..2202109aa
--- /dev/null
+++ b/tests/verilog/ifdef_nest.ys
@@ -0,0 +1,7 @@
+read_verilog <<EOF
+`ifndef a
+`ifdef b
+`endif
+`else
+`endif
+EOF