diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-08-11 11:53:43 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-08-11 11:53:43 +0200 |
commit | d4d4d0706e4c70a64ed196447d3e7ed837bfc5b0 (patch) | |
tree | 8ffb7f83e4d584aa3ad6b083dcd3eeec923c7319 /testsuite/gna/issue2131/array_of_string_elements.vhdl | |
parent | 3f44eee92303b1c2fd3461bdafb0dc8e9a27eec0 (diff) | |
download | ghdl-d4d4d0706e4c70a64ed196447d3e7ed837bfc5b0.tar.gz ghdl-d4d4d0706e4c70a64ed196447d3e7ed837bfc5b0.tar.bz2 ghdl-d4d4d0706e4c70a64ed196447d3e7ed837bfc5b0.zip |
testsuite/gna: add a test for #2131
Diffstat (limited to 'testsuite/gna/issue2131/array_of_string_elements.vhdl')
-rw-r--r-- | testsuite/gna/issue2131/array_of_string_elements.vhdl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gna/issue2131/array_of_string_elements.vhdl b/testsuite/gna/issue2131/array_of_string_elements.vhdl new file mode 100644 index 000000000..128a5f92f --- /dev/null +++ b/testsuite/gna/issue2131/array_of_string_elements.vhdl @@ -0,0 +1,10 @@ +entity array_of_string_elements is +end entity; + +architecture foo of array_of_string_elements is + type strings is array (natural range <>) of string; + constant strings_constants: strings(0 to 3) := + ("one", "two", "three", "four"); + +begin +end architecture; |