Skip to content

Commit 6ddaa1b

Browse files
authored
Test for Carbon issue #391 (#829)
1 parent 92c0914 commit 6ddaa1b

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Any copyright is dedicated to the Public Domain.
2+
// http://creativecommons.org/publicdomain/zero/1.0/
3+
4+
predicate p()
5+
6+
method mmmm()
7+
{
8+
//:: ExpectedOutput(exhale.failed:qp.not.injective)
9+
//:: ExpectedOutput(exhale.failed:insufficient.permission)
10+
//:: MissingOutput(exhale.failed:insufficient.permission, /silicon/issue/34/)
11+
exhale forall i: Int :: p()
12+
}
13+
14+
method mmmm2()
15+
{
16+
//:: ExpectedOutput(inhale.failed:qp.not.injective)
17+
inhale forall i: Int :: p()
18+
}

src/test/resources/all/issues/silicon/0595.vpr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ predicate P()
77

88
method test()
99
requires P()
10-
//:: IgnoreFile(/carbon/issue/391/)
1110
ensures forall i: Int :: i == 0 ==> P()
1211
{}
1312

0 commit comments

Comments
 (0)