Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
theauk committed Apr 27, 2022
1 parent 0c5694b commit e4e9914
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions test6.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
/* A program with nested conditionals */
/* expects */

void main(void)
{
int x[2];
int y;
/* This is a program */
float name (int v) {
int l;
int r;
{
if ((2 + 2) == 4)
if (y == 0) y = 2 /* true - but should not evaluate since above is false */
else
write x[0]
x[1]=4
if(x[0] <= 4) /* true - should evaluate */
{
x[0] = 2
y = 7
}
else x[0] = x[0] - 1 /* should not evaluate since above is true */
if(2 == 2)
{
l = 9
r = 76
}
write l
l = r + 5 * 2
r = 4 * 2
}
}



0 comments on commit e4e9914

Please sign in to comment.