aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/src.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/various/src.ys')
-rw-r--r--tests/various/src.ys8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/various/src.ys b/tests/various/src.ys
new file mode 100644
index 000000000..89d6700ca
--- /dev/null
+++ b/tests/various/src.ys
@@ -0,0 +1,8 @@
+logger -expect warning "wire '\\o' is assigned in a block at <<EOT:2.11-2.17" 1
+logger -expect warning "wire '\\p' is assigned in a block at <<EOT:3.11-3.16" 1
+read_verilog <<EOT
+module top(input i, output o, p);
+always @* o <= i;
+always @* p = i;
+endmodule
+EOT