projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae11156
)
tests: add #2037 testcase
author
Eddie Hung
<eddie@fpgeh.com>
Mon, 11 May 2020 16:33:11 +0000
(09:33 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Mon, 25 May 2020 14:36:53 +0000
(07:36 -0700)
tests/verilog/bug2037.ys
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/verilog/bug2037.ys
b/tests/verilog/bug2037.ys
new file mode 100644
(file)
index 0000000..
afe9202
--- /dev/null
+++ b/
tests/verilog/bug2037.ys
@@ -0,0
+1,9
@@
+logger -expect warning "Attribute\(s\) attached to null statement\. Ignoring\." 1
+logger -expect-no-warnings
+read_verilog <<EOT
+module test ();
+ localparam y = 1;
+ always @(*)
+ if (y) (* foo *) ;
+endmodule
+EOT