Skip to content

Commit 628df43

Browse files
committed
add tests
1 parent 176a79c commit 628df43

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
struct some_struct {
2+
int x;
3+
};
4+
5+
struct some_struct function_without_body();
6+
7+
int main()
8+
{
9+
struct some_struct s = function_without_body();
10+
return 0;
11+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
KNOWNBUG
2+
call_no_body2.c
3+
--text
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
--
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
struct S
2+
{
3+
int x, y;
4+
} s;
5+
6+
struct S nondet_S();
7+
8+
int main()
9+
{
10+
s = nondet_S();
11+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
KNOWNBUG
2+
nondet_struct1.c
3+
--text
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
--

0 commit comments

Comments
 (0)