diff options
-rw-r--r-- | testsuite/gna/issue1953/myentity.vhdl | 13 | ||||
-rwxr-xr-x | testsuite/gna/issue1953/testsuite.sh | 10 |
2 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/gna/issue1953/myentity.vhdl b/testsuite/gna/issue1953/myentity.vhdl new file mode 100644 index 000000000..bbde896cd --- /dev/null +++ b/testsuite/gna/issue1953/myentity.vhdl @@ -0,0 +1,13 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity myEntity is +end myEntity; + +architecture behavioral of myEntity is + constant sizeArray : integer := 3; + type arrayT is array (0 to sizeArray-1) of std_logic; + + constant myArray : arrayT := ('0','1'); +begin +end behavioral; diff --git a/testsuite/gna/issue1953/testsuite.sh b/testsuite/gna/issue1953/testsuite.sh new file mode 100755 index 000000000..d197a167c --- /dev/null +++ b/testsuite/gna/issue1953/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=--std=08 +analyze_failure myentity.vhdl + +clean + +echo "Test successful" |