1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
entity test is end entity; architecture a of test is function fun(var : boolean) return boolean is begin return var; end function; begin main : process constant c : boolean := fun; begin wait; end process; end architecture;