summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug08/paren8.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug08/paren8.vhdl')
-rw-r--r--testsuite/gna/bug08/paren8.vhdl17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/bug08/paren8.vhdl b/testsuite/gna/bug08/paren8.vhdl
new file mode 100644
index 0000000..ee4d7c1
--- /dev/null
+++ b/testsuite/gna/bug08/paren8.vhdl
@@ -0,0 +1,17 @@
+entity paren8 is
+end paren8;
+
+architecture behav of paren8
+is
+begin
+ process
+ function a return string is
+ begin
+ return "hello";
+ end a;
+ constant b : natural := 5;
+ begin
+ assert a(b) = 'o';
+ wait;
+ end process;
+end behav;