aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug094/entb.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug094/entb.vhdl')
-rw-r--r--testsuite/gna/bug094/entb.vhdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/bug094/entb.vhdl b/testsuite/gna/bug094/entb.vhdl
new file mode 100644
index 000000000..5dc2a4bde
--- /dev/null
+++ b/testsuite/gna/bug094/entb.vhdl
@@ -0,0 +1,16 @@
+use work.pkgb.all;
+
+entity entb is
+ port (clk : bit;
+ val : natural);
+end entb;
+
+architecture behav of entb is
+begin
+ process (clk)
+ begin
+ if clk = '1' then
+ v := val;
+ end if;
+ end process;
+end behav;