diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-08-26 19:43:59 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-08-26 22:39:04 +0200 |
commit | f61903dba10aadcb18d608f4c57e21e7d427ea25 (patch) | |
tree | 2a5f39c1507aa7e3cd140bd411aed8183b84474f /testsuite/synth/issue1430/repro.vhdl | |
parent | 91a073a2399321f42d63eaa53892eac68fc20257 (diff) | |
download | ghdl-f61903dba10aadcb18d608f4c57e21e7d427ea25.tar.gz ghdl-f61903dba10aadcb18d608f4c57e21e7d427ea25.tar.bz2 ghdl-f61903dba10aadcb18d608f4c57e21e7d427ea25.zip |
testsuite/synth: add a testcase for #1430
Diffstat (limited to 'testsuite/synth/issue1430/repro.vhdl')
-rw-r--r-- | testsuite/synth/issue1430/repro.vhdl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/synth/issue1430/repro.vhdl b/testsuite/synth/issue1430/repro.vhdl new file mode 100644 index 000000000..572ad3087 --- /dev/null +++ b/testsuite/synth/issue1430/repro.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) + severity note; +end; |