summaryrefslogtreecommitdiff
path: root/tests/simple
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-07-12 13:13:04 +0200
committerClifford Wolf <clifford@clifford.at>2013-07-12 13:13:04 +0200
commit3650fd7fbe45a00792770d9ecb9397bc27ea0845 (patch)
tree0ecf122082e664a9d2d7267bca5a17e8852fba62 /tests/simple
parentded769c98cffe5682c0211dba08abc4a1efe3d5a (diff)
More fixes in ternary op sign handling
Diffstat (limited to 'tests/simple')
-rw-r--r--tests/simple/vloghammer.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/simple/vloghammer.v b/tests/simple/vloghammer.v
index c97a2be5..fffa3505 100644
--- a/tests/simple/vloghammer.v
+++ b/tests/simple/vloghammer.v
@@ -65,3 +65,11 @@ module test09(a, b, c, y);
assign y = a ? b : c;
endmodule
+module test10(a, b, c, y);
+ input a;
+ input signed [1:0] b;
+ input signed [2:0] c;
+ output y;
+ assign y = ^(a ? b : c);
+endmodule
+