summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket66/bug.vhdl
blob: 9289e932628127920985bfaa285fcc7c52f1e9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity ent is
end entity;

architecture a of ent is
  procedure proc(constant value : std_logic_vector) is
  begin
  end procedure;
begin
  main : process is
    constant const : unsigned(1 downto 0) := "00";
  begin
    proc(std_logic_vector(const));
    wait;
  end process;
end architecture;