Skip to content

Commit 4a05f33

Browse files
Test case adjustment.
1 parent cb48cdb commit 4a05f33

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

ex2/test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PRECIOUS: %.ll %.instrumented.ll
22

3-
TARGETS=simple0 simple1 branch0 branch1 branch2 infeasable
3+
TARGETS=simple0 simple1 simple2 branch0 branch1 branch2 infeasable
44

55
all: ${TARGETS}
66

ex2/test/simple0.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "../include/Runtime.h"
44

55
int main() {
6-
int x; DSE_Input(x);
7-
x = x + 1;
6+
int x = 1;
7+
int y = x;
88
return 0;
99
}

ex2/test/simple1.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
int main() {
66
int x; DSE_Input(x);
7-
int y; DSE_Input(y);
8-
int z = x / y;
7+
int y = x;
98
return 0;
109
}

ex2/test/simple2.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include <stdio.h>
2+
3+
#include "../include/Runtime.h"
4+
5+
int main() {
6+
int x; DSE_Input(x);
7+
int y = x;
8+
return 0;
9+
}

0 commit comments

Comments
 (0)