diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-01-20 15:22:46 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-01-20 15:22:46 +0100 |
commit | 98fa5f28b2c97ce321b13660d4db969a0072f606 (patch) | |
tree | 4a27cbda417ea4f0cb8ede5cb812239f15c9e994 /testsuite/gna/bug08/paren4.vhdl | |
parent | 057fe02c3e99bee64cea06c057afc2d50732baad (diff) | |
download | ghdl-98fa5f28b2c97ce321b13660d4db969a0072f606.tar.gz ghdl-98fa5f28b2c97ce321b13660d4db969a0072f606.tar.bz2 ghdl-98fa5f28b2c97ce321b13660d4db969a0072f606.zip |
Add testcase bug08 (ambiguous notation for parenthesis name).
Diffstat (limited to 'testsuite/gna/bug08/paren4.vhdl')
-rw-r--r-- | testsuite/gna/bug08/paren4.vhdl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/bug08/paren4.vhdl b/testsuite/gna/bug08/paren4.vhdl new file mode 100644 index 000000000..f45fe8f3d --- /dev/null +++ b/testsuite/gna/bug08/paren4.vhdl @@ -0,0 +1,13 @@ +entity paren4 is +end paren4; + +architecture behav of paren4 +is + function a (param : natural) return natural is + begin + return param + 1; + end a; + constant b : natural := 3; +begin + assert a(b) = 4; +end behav; |