diff options
Diffstat (limited to 'src/relooper/test.txt')
-rw-r--r-- | src/relooper/test.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/relooper/test.txt b/src/relooper/test.txt index d657c6af..b3535592 100644 --- a/src/relooper/test.txt +++ b/src/relooper/test.txt @@ -136,3 +136,20 @@ while(1) { // block F } + + +-- conditional loop -- + + + +// block A +if (shouldLoop()) { + while(1) { + // block B + if (!(moarLoop())) { + break; + } + } +} +// block C + |