aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/disp01/pkg_rec02.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-02 20:40:36 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-03 06:40:52 +0200
commitc37f7a104d3aeec938572d13489f069982bdc11a (patch)
tree8acdc093c93bc589479865042a618130218efe5c /testsuite/synth/disp01/pkg_rec02.vhdl
parentf8eab0dd6bffcb1a035b6a600bebe94991ab9629 (diff)
downloadghdl-c37f7a104d3aeec938572d13489f069982bdc11a.tar.gz
ghdl-c37f7a104d3aeec938572d13489f069982bdc11a.tar.bz2
ghdl-c37f7a104d3aeec938572d13489f069982bdc11a.zip
testsuite/synth: add testcase for previous commit.
Diffstat (limited to 'testsuite/synth/disp01/pkg_rec02.vhdl')
-rw-r--r--testsuite/synth/disp01/pkg_rec02.vhdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/synth/disp01/pkg_rec02.vhdl b/testsuite/synth/disp01/pkg_rec02.vhdl
new file mode 100644
index 000000000..5b5b78850
--- /dev/null
+++ b/testsuite/synth/disp01/pkg_rec02.vhdl
@@ -0,0 +1,9 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+package rec02_pkg is
+ type myrec is record
+ a : natural range 0 to 5;
+ b : std_logic;
+ end record;
+end rec02_pkg;