summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket69/bug.vhdl
diff options
context:
space:
mode:
authorTristan Gingold2015-05-19 06:36:28 +0200
committerTristan Gingold2015-05-19 06:36:28 +0200
commit51cc0a36b05cc0653d30df349a635f9af16c00cb (patch)
tree99b4fe18132008e0e9ebeee9e35e1ca97a457937 /testsuite/gna/ticket69/bug.vhdl
parente6155f916a818b1cad10f206e874f4857d871ce0 (diff)
downloadghdl-51cc0a36b05cc0653d30df349a635f9af16c00cb.tar.gz
ghdl-51cc0a36b05cc0653d30df349a635f9af16c00cb.tar.bz2
ghdl-51cc0a36b05cc0653d30df349a635f9af16c00cb.zip
testcase for ticket 69.
Diffstat (limited to 'testsuite/gna/ticket69/bug.vhdl')
-rw-r--r--testsuite/gna/ticket69/bug.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/ticket69/bug.vhdl b/testsuite/gna/ticket69/bug.vhdl
new file mode 100644
index 0000000..de6b082
--- /dev/null
+++ b/testsuite/gna/ticket69/bug.vhdl
@@ -0,0 +1,15 @@
+library ieee;
+use ieee.numeric_std.all;
+
+entity ent is
+end entity;
+
+architecture a of ent is
+begin
+ main : process
+ variable a,b : unsigned(0 downto 0);
+ begin
+ assert a = b; -- Works
+ assert ieee.numeric_std."="(a, b);
+ end process;
+end architecture;