summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket32/repro.vhdl
diff options
context:
space:
mode:
authorTristan Gingold2015-01-13 20:19:51 +0100
committerTristan Gingold2015-01-13 20:19:51 +0100
commit8ab3c6e57e7f11eb79d1d7f948fb29a16225c9f2 (patch)
tree54ce28fafc6fe90c339381d055342b06d16c9f74 /testsuite/gna/ticket32/repro.vhdl
parentd5a8c6796715ec5effeb620ec660f996cf2446f9 (diff)
downloadghdl-8ab3c6e57e7f11eb79d1d7f948fb29a16225c9f2.tar.gz
ghdl-8ab3c6e57e7f11eb79d1d7f948fb29a16225c9f2.tar.bz2
ghdl-8ab3c6e57e7f11eb79d1d7f948fb29a16225c9f2.zip
Add reproducer from ticket #32.
Diffstat (limited to 'testsuite/gna/ticket32/repro.vhdl')
-rw-r--r--testsuite/gna/ticket32/repro.vhdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gna/ticket32/repro.vhdl b/testsuite/gna/ticket32/repro.vhdl
new file mode 100644
index 0000000..277fa3f
--- /dev/null
+++ b/testsuite/gna/ticket32/repro.vhdl
@@ -0,0 +1,10 @@
+entity repro is
+end;
+
+architecture tb of repro is
+ signal x : bit_vector(1 downto 0);
+ signal y : bit;
+begin
+ assert (y = '1') = (x = "11");
+end tb;
+