aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1384
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1384')
-rw-r--r--testsuite/gna/issue1384/tb_issue.vhdl22
-rwxr-xr-xtestsuite/gna/issue1384/testsuite.sh9
2 files changed, 31 insertions, 0 deletions
diff --git a/testsuite/gna/issue1384/tb_issue.vhdl b/testsuite/gna/issue1384/tb_issue.vhdl
new file mode 100644
index 000000000..88e2ed629
--- /dev/null
+++ b/testsuite/gna/issue1384/tb_issue.vhdl
@@ -0,0 +1,22 @@
+library IEEE;
+use IEEE.STD_LOGIC_1164.ALL;
+
+entity tb_issue is
+end entity tb_issue;
+
+architecture dataflow of tb_issue is
+
+ type arec is record
+ member : std_logic_vector(31 downto 0);
+ end record arec;
+
+ signal a : arec;
+
+begin
+
+ process
+ begin
+ a.member <= (0 => '1', others => '0');
+ end process;
+
+end architecture dataflow;
diff --git a/testsuite/gna/issue1384/testsuite.sh b/testsuite/gna/issue1384/testsuite.sh
new file mode 100755
index 000000000..53a62bcde
--- /dev/null
+++ b/testsuite/gna/issue1384/testsuite.sh
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze -O3 tb_issue.vhdl
+
+clean
+
+echo "Test successful"