tests: add #2042 testcase
authorEddie Hung <eddie@fpgeh.com>
Mon, 11 May 2020 18:05:19 +0000 (11:05 -0700)
committerEddie Hung <eddie@fpgeh.com>
Mon, 11 May 2020 18:05:19 +0000 (11:05 -0700)
tests/verilog/bug2042.ys [new file with mode: 0644]

diff --git a/tests/verilog/bug2042.ys b/tests/verilog/bug2042.ys
new file mode 100644 (file)
index 0000000..009e2c2
--- /dev/null
@@ -0,0 +1,12 @@
+logger -expect error "Non-ANSI style task/function arguments not currently supported" 1
+read_verilog <<EOT
+module Task_Test_Top
+(
+);
+
+    task SomeTaskName(a)
+    endtask
+
+endmodule
+EOT
+