Skip to content

Commit e308a32

Browse files
authored
Merge pull request diffblue#1679 from NlightNFotis/nondet_extra_test
Add extra tests for the non-det issue with constants.
2 parents e6ceb91 + ea74bed commit e308a32

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
int var;
2+
const int arr[] = {10, 20, 30};
3+
4+
int main(void)
5+
{
6+
var = arr[2];
7+
return 0;
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
main.c
3+
--nondet-static
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
--
7+
arr = NONDET\(const signed int \[3ll\]\)
8+
--

0 commit comments

Comments
 (0)