aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2346/aggr1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2346/aggr1.vhdl')
-rw-r--r--testsuite/gna/issue2346/aggr1.vhdl13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/issue2346/aggr1.vhdl b/testsuite/gna/issue2346/aggr1.vhdl
new file mode 100644
index 000000000..7418f5d72
--- /dev/null
+++ b/testsuite/gna/issue2346/aggr1.vhdl
@@ -0,0 +1,13 @@
+entity aggr1 is
+end;
+
+architecture test of aggr1 is
+ constant tpd : time := 1 ns ;
+ signal A1, A0 : bit ;
+ function f return bit_vector is
+ begin
+ return "010";
+ end f;
+begin
+ (A1, A0) <= f after tpd; -- to_slv(i, 2) after tpd ;
+end;