aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug14953/bug.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug14953/bug.vhdl')
-rw-r--r--testsuite/gna/bug14953/bug.vhdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/gna/bug14953/bug.vhdl b/testsuite/gna/bug14953/bug.vhdl
new file mode 100644
index 000000000..228e7e60d
--- /dev/null
+++ b/testsuite/gna/bug14953/bug.vhdl
@@ -0,0 +1,11 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity bug is
+end entity;
+
+architecture a of bug is
+ signal irunning :natural range 0 to 1 := 2; -- reports no error
+begin
+ irunning <= 2; -- reports error, but no information
+end architecture;