aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0106/repro.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug0106/repro.vhdl')
-rw-r--r--testsuite/gna/bug0106/repro.vhdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/gna/bug0106/repro.vhdl b/testsuite/gna/bug0106/repro.vhdl
new file mode 100644
index 000000000..49dfaadfb
--- /dev/null
+++ b/testsuite/gna/bug0106/repro.vhdl
@@ -0,0 +1,9 @@
+entity repro is
+end repro;
+
+architecture behav of repro is
+ signal v : natural;
+ constant c : integer := 5;
+begin
+ v <= natural (c)'a;
+end behav;