From 75f247abf04876abd3d18c29ffe4750524ac5ed1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 12 May 2015 20:49:47 +0200 Subject: Testcase for ticket 56. --- testsuite/gna/ticket56/bug.vhdl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 testsuite/gna/ticket56/bug.vhdl (limited to 'testsuite/gna/ticket56/bug.vhdl') diff --git a/testsuite/gna/ticket56/bug.vhdl b/testsuite/gna/ticket56/bug.vhdl new file mode 100644 index 000000000..43b3ab06a --- /dev/null +++ b/testsuite/gna/ticket56/bug.vhdl @@ -0,0 +1,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; -- cgit v1.2.3