aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1430/repro1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue1430/repro1.vhdl')
-rw-r--r--testsuite/synth/issue1430/repro1.vhdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/synth/issue1430/repro1.vhdl b/testsuite/synth/issue1430/repro1.vhdl
new file mode 100644
index 000000000..8d84d25a3
--- /dev/null
+++ b/testsuite/synth/issue1430/repro1.vhdl
@@ -0,0 +1,11 @@
+entity repro is
+ generic (a : natural := 5);
+end;
+
+architecture behav of repro is
+ constant c : natural := 10;
+begin
+ assert false
+ report natural'image(a) & "c = " & integer'image(c)
+ & ", a = " & natural'image(a) & " (!)" severity note;
+end;