CORE
main.c
--dependence-graph --show
activate-multi-line-match
EXIT=0
SIGNAL=0
// First assignment has a control dependency on the if
\/\/ ([0-9]+).*\n.*IF.*i < 10.*THEN(.*\n)*Control dependencies: \1\n(.*\n){2,3}.*a = 1
// Second assignment has a control dependency on the if
\/\/ ([0-9]+).*\n.*IF.*i < 10.*THEN(.*\n)*Control dependencies: \1\n(.*\n){2,3}.*a = 2
--
^warning: ignoring
--
The first regex above matches output portions like shown below (with <N> being a
location number). The intention is to check whether the assignment has a control
dependency on the goto statement.

        // <N> file main.c line 7 function main
        IF !(i < 10) THEN GOTO 1

**** 3 file main.c line 9 function main
Control dependencies: <N>

        // 3 file main.c line 9 function main
        a = 1;

The second regex above matches output portions like shown below (with <N> being
a location number). The intention is to check whether the assignment has a
control dependency on the goto statement.

        // <N> file main.c line 7 function main
        IF !(i < 10) THEN GOTO 1
...
**** 5 file main.c line 13 function main
Control dependencies: <N>

        // 5 file main.c line 13 function main
     1: a = 2;

