Skip to content
Snippets Groups Projects
Commit 3ea0d8a1 authored by Ben Franksen's avatar Ben Franksen
Browse files

test/compiler: test rejection of delay in action statement

parent f14bb40b
No related branches found
No related tags found
No related merge requests found
/*************************************************************************\
Copyright (c) 2014 Helmholtz-Zentrum Berlin f. Materialien
und Energie GmbH, Germany (HZB)
This file is distributed subject to a Software License Agreement found
in the file LICENSE that is included with this distribution.
\*************************************************************************/
program delay_in_action
ss test {
state test {
when (delay(1)) {
delay(2);
} exit
}
}
......@@ -6,6 +6,7 @@ use Test::More;
my $tests = {
cast => { warnings => 0, errors => 0 },
delay_in_action => { warnings => 0, errors => 1 },
efArray => { warnings => 0, errors => 1 },
efGlobal => { warnings => 0, errors => 3 },
efNoInit => { warnings => 0, errors => 1 },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment