From 4fb0d372c17309ed4c5e2f011d8fa11e89f3295e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 11 May 2015 00:57:06 +0200 Subject: Add ticket50 testcase. --- testsuite/gna/ticket50/ent2.vhdl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 testsuite/gna/ticket50/ent2.vhdl (limited to 'testsuite/gna/ticket50/ent2.vhdl') diff --git a/testsuite/gna/ticket50/ent2.vhdl b/testsuite/gna/ticket50/ent2.vhdl new file mode 100644 index 0000000..e8a0aba --- /dev/null +++ b/testsuite/gna/ticket50/ent2.vhdl @@ -0,0 +1,23 @@ +entity ent is +end entity; + +package pkg1 is + function cond return boolean; +end pkg1; + +package pkg2 is + function cond return boolean; +end pkg2; + +use work.pkg1.all; +use work.pkg2.all; + +architecture a of ent is + type enum_t is (cond); +begin + main : process + begin + if cond then + end if; + end process; +end architecture; -- cgit