aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug08/paren1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug08/paren1.vhdl')
-rw-r--r--testsuite/gna/bug08/paren1.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/bug08/paren1.vhdl b/testsuite/gna/bug08/paren1.vhdl
new file mode 100644
index 000000000..b6adba364
--- /dev/null
+++ b/testsuite/gna/bug08/paren1.vhdl
@@ -0,0 +1,15 @@
+entity paren1 is
+end paren1;
+
+architecture behav of paren1
+is
+ signal a : bit_vector (1 to 4);
+begin
+ process
+ begin
+ for b in a'range loop
+ assert a(b) = '0';
+ end loop;
+ wait;
+ end process;
+end behav;