aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug08/paren5.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug08/paren5.vhdl')
-rw-r--r--testsuite/gna/bug08/paren5.vhdl13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/bug08/paren5.vhdl b/testsuite/gna/bug08/paren5.vhdl
new file mode 100644
index 000000000..6a8b0d790
--- /dev/null
+++ b/testsuite/gna/bug08/paren5.vhdl
@@ -0,0 +1,13 @@
+entity paren5 is
+end paren5;
+
+architecture behav of paren5
+is
+ procedure a (param : natural) is
+ begin
+ assert param /= 2;
+ end a;
+ constant b : natural := 3;
+begin
+ a(b);
+end behav;