summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket69/bug.vhdl
diff options
context:
space:
mode:
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;