This test suite has been in use for a long time now, in place of the obsolete and unmanageable testparser.py and testfuncs.py. It verifies the complete optimizer output to stdout and stderr, to ensure that the output matches the expectations. See unit_tests/README.txt for more info.
17 lines
197 B
Plaintext
17 lines
197 B
Plaintext
e(){}
|
|
integer a;
|
|
integer b;
|
|
f(){}
|
|
g(){}
|
|
integer c;
|
|
integer d;
|
|
h(){}
|
|
default
|
|
{
|
|
timer() {}
|
|
touch(integer n) {}
|
|
touch_start(integer n) {}
|
|
touch_end(integer n) {}
|
|
}
|
|
state s2{timer(){}}
|