Skip to content

Commit 40f6d43

Browse files
authored
Merge pull request #6824 from tautschnig/feature/extensionality
Failing test to demonstrate need for extensionality rule
2 parents 7739a5c + 55f3861 commit 40f6d43

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

regression/cbmc/Array_UF22/main.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
int main()
2+
{
3+
int a[2] = {0};
4+
int b[2] = {0};
5+
__CPROVER_assert(__CPROVER_array_equal(a, b), "equal");
6+
}

regression/cbmc/Array_UF22/test.desc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
KNOWNBUG broken-smt-backend
2+
main.c
3+
--arrays-uf-always --no-propagation
4+
^VERIFICATION SUCCESSFUL$
5+
^EXIT=0$
6+
^SIGNAL=0$
7+
--
8+
^warning: ignoring
9+
--
10+
This test demonstrates the need for implementing the extensionality rule.

0 commit comments

Comments
 (0)