summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug08/paren2.vhdl
diff options
context:
space:
mode:
authorTristan Gingold2015-01-20 15:22:46 +0100
committerTristan Gingold2015-01-20 15:22:46 +0100
commit98fa5f28b2c97ce321b13660d4db969a0072f606 (patch)
tree4a27cbda417ea4f0cb8ede5cb812239f15c9e994 /testsuite/gna/bug08/paren2.vhdl
parent057fe02c3e99bee64cea06c057afc2d50732baad (diff)
downloadghdl-98fa5f28b2c97ce321b13660d4db969a0072f606.tar.gz
ghdl-98fa5f28b2c97ce321b13660d4db969a0072f606.tar.bz2
ghdl-98fa5f28b2c97ce321b13660d4db969a0072f606.zip
Add testcase bug08 (ambiguous notation for parenthesis name).
Diffstat (limited to 'testsuite/gna/bug08/paren2.vhdl')
-rw-r--r--testsuite/gna/bug08/paren2.vhdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gna/bug08/paren2.vhdl b/testsuite/gna/bug08/paren2.vhdl
new file mode 100644
index 0000000..bb72f1d
--- /dev/null
+++ b/testsuite/gna/bug08/paren2.vhdl
@@ -0,0 +1,10 @@
+entity paren2 is
+end paren2;
+
+architecture behav of paren2
+is
+ subtype b is natural range 1 to 4;
+ signal a : bit_vector (b);
+begin
+ assert a(b) = x"0";
+end behav;