aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2147/e.vhdl
blob: 8303603700cd51ed14ece3bfc5de0100306440c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std.textio.all;

entity e is end;

architecture a of e is
    function f return line is
    begin
        return new string'("");
    end;

    -- This line causes the crash
    constant c : bit := f'range;
begin
end;