From 98fa5f28b2c97ce321b13660d4db969a0072f606 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 20 Jan 2015 15:22:46 +0100 Subject: Add testcase bug08 (ambiguous notation for parenthesis name). --- testsuite/gna/bug08/paren9.vhdl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 testsuite/gna/bug08/paren9.vhdl (limited to 'testsuite/gna/bug08/paren9.vhdl') diff --git a/testsuite/gna/bug08/paren9.vhdl b/testsuite/gna/bug08/paren9.vhdl new file mode 100644 index 0000000..e94a626 --- /dev/null +++ b/testsuite/gna/bug08/paren9.vhdl @@ -0,0 +1,17 @@ +entity paren9 is +end paren9; + +architecture behav of paren9 +is +begin + process + function a return string is + begin + return "hello"; + end a; + subtype b is natural range 1 to 2; + begin + assert a(b) = "he"; + wait; + end process; +end behav; -- cgit