diff options
Diffstat (limited to 'tests/simple/lesser_size_cast.sv')
-rw-r--r-- | tests/simple/lesser_size_cast.sv | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/simple/lesser_size_cast.sv b/tests/simple/lesser_size_cast.sv new file mode 100644 index 000000000..8c0bc9814 --- /dev/null +++ b/tests/simple/lesser_size_cast.sv @@ -0,0 +1,7 @@ +module top ( + input signed [1:0] a, + input signed [2:0] b, + output signed [4:0] c +); + assign c = 2'(a) * b; +endmodule |