aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1704/orig.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1704/orig.vhdl')
-rw-r--r--testsuite/gna/issue1704/orig.vhdl5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/gna/issue1704/orig.vhdl b/testsuite/gna/issue1704/orig.vhdl
new file mode 100644
index 000000000..9b89c5292
--- /dev/null
+++ b/testsuite/gna/issue1704/orig.vhdl
@@ -0,0 +1,5 @@
+subtype word is std_logic_vector(word_len - 1 downto 0);
+function F return word is
+begin
+ return ("1010","101010101010", others => '0');
+end function;