diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-06-20 05:43:35 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-06-20 05:43:35 +0200 |
commit | 446af5a87d33f5862f9058204b36f3a60829f9a3 (patch) | |
tree | b844f46831bde50b4e28fe597872a4117f5c1ce9 /testsuite/gna/issue372 | |
parent | 9a2976669a85d9519f38092860ad11662834807f (diff) | |
download | ghdl-446af5a87d33f5862f9058204b36f3a60829f9a3.tar.gz ghdl-446af5a87d33f5862f9058204b36f3a60829f9a3.tar.bz2 ghdl-446af5a87d33f5862f9058204b36f3a60829f9a3.zip |
Add reproducer for #372
Diffstat (limited to 'testsuite/gna/issue372')
-rw-r--r-- | testsuite/gna/issue372/dummy.vhdl | 11 | ||||
-rwxr-xr-x | testsuite/gna/issue372/testsuite.sh | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/gna/issue372/dummy.vhdl b/testsuite/gna/issue372/dummy.vhdl new file mode 100644 index 000000000..03d385779 --- /dev/null +++ b/testsuite/gna/issue372/dummy.vhdl @@ -0,0 +1,11 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity Dummy is +end entity; + +architecture arch of Dummy is + subtype t_null is std_logic_vector(-1 downto 0); + type array_of_nulls is array(1 downto 0) of t_null; +begin +end architecture; diff --git a/testsuite/gna/issue372/testsuite.sh b/testsuite/gna/issue372/testsuite.sh new file mode 100755 index 000000000..b3fa98774 --- /dev/null +++ b/testsuite/gna/issue372/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze dummy.vhdl +elab_simulate dummy + +clean + +echo "Test successful" |