aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/ticket77/bug2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/ticket77/bug2.vhdl')
-rw-r--r--testsuite/gna/ticket77/bug2.vhdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/ticket77/bug2.vhdl b/testsuite/gna/ticket77/bug2.vhdl
new file mode 100644
index 000000000..b666d5e63
--- /dev/null
+++ b/testsuite/gna/ticket77/bug2.vhdl
@@ -0,0 +1,12 @@
+entity ent2 is
+end entity;
+
+architecture a of ent2 is
+begin
+ main : process
+ begin
+-- wait for 0 ns; -- Comment and it exits with code 1
+ std.env.stop(1);
+ wait;
+ end process;
+end architecture;