Skip to content

Commit 96acaf3

Browse files
committed
KNOWNBUG test for concatenation with unsized constant
1 parent 3f0211b commit 96acaf3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
KNOWNBUG
2+
concatenation4.v
3+
--bound 0
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
--
7+
^warning: ignoring
8+
--
9+
This should yield an error.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module main;
2+
3+
// 1800-2017 11.4.12
4+
// "Unsized constant numbers shall not be allowed in concatenations"
5+
wire [31:0] x = { 'b1010 };
6+
7+
endmodule

0 commit comments

Comments
 (0)