diff options
Diffstat (limited to 'testsuite/pyunit/libghdl/var_fail.vhdl')
-rw-r--r-- | testsuite/pyunit/libghdl/var_fail.vhdl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/var_fail.vhdl b/testsuite/pyunit/libghdl/var_fail.vhdl new file mode 100644 index 000000000..71689ff59 --- /dev/null +++ b/testsuite/pyunit/libghdl/var_fail.vhdl @@ -0,0 +1,12 @@ +architecture arch of ent is +begin + process + -- Comment + variable v : natural; + begin + while v < 10 loop + v := v + 1; + end loop; + wait; + end process; +end arch; |