summaryrefslogtreecommitdiff
path: root/tests/simple/vloghammer.v
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-02 13:00:17 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-02 13:00:17 +0100
commit943329c1dc25609f848d4f5ce837c362e5fd2642 (patch)
treef8b06fa1056390803404463fcf062035cdfe88e5 /tests/simple/vloghammer.v
parent0b4a64ac6adbd6c61e09517c4ea98cabd8b8b9ad (diff)
Various ast changes for early expression width detection (prep for constfold fixes)
Diffstat (limited to 'tests/simple/vloghammer.v')
-rw-r--r--tests/simple/vloghammer.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/simple/vloghammer.v b/tests/simple/vloghammer.v
index fffa3505..c705bfa7 100644
--- a/tests/simple/vloghammer.v
+++ b/tests/simple/vloghammer.v
@@ -73,3 +73,10 @@ module test10(a, b, c, y);
assign y = ^(a ? b : c);
endmodule
+module test11(a, b, y);
+ input signed [3:0] a;
+ input signed [3:0] b;
+ output signed [5:0] y;
+ assign y = -(5'd27);
+endmodule
+