summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug14953/bug2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug14953/bug2.vhdl')
-rw-r--r--testsuite/gna/bug14953/bug2.vhdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/gna/bug14953/bug2.vhdl b/testsuite/gna/bug14953/bug2.vhdl
new file mode 100644
index 0000000..a84c396
--- /dev/null
+++ b/testsuite/gna/bug14953/bug2.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;
+begin
+ irunning <= 2; -- reports error, but no information
+end architecture;