aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue710/ent2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue710/ent2.vhdl')
-rw-r--r--testsuite/gna/issue710/ent2.vhdl29
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/gna/issue710/ent2.vhdl b/testsuite/gna/issue710/ent2.vhdl
new file mode 100644
index 000000000..d42c8f839
--- /dev/null
+++ b/testsuite/gna/issue710/ent2.vhdl
@@ -0,0 +1,29 @@
+package pkg is
+ procedure foo;
+end package;
+
+package body pkg is
+ procedure foo is
+ begin
+ report "pkg foo";
+ end procedure;
+end package body;
+
+entity ent is
+end entity;
+
+architecture a of ent is
+ use work.pkg.foo;
+begin
+ blk: block
+ procedure foo is
+ begin
+ report "arch foo";
+ end procedure;
+ begin
+ main : process
+ begin
+ foo;
+ end process;
+ end block;
+end architecture;