Skip to content

Commit 95e6bf0

Browse files
committed
Update failing cases, add parsing edge case
1 parent a5d1638 commit 95e6bf0

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

src/test/resources/all/issues/silver/0027.vpr

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Any copyright is dedicated to the Public Domain.
2-
// http://creativecommons.org/publicdomain/zero/1.0/
3-
4-
//:: ExpectedOutput(typechecker.error)
1+
// Any copyright is dedicated to the Public Domain.
2+
// http://creativecommons.org/publicdomain/zero/1.0/
3+
54
field f: Int
65

76
//:: ExpectedOutput(typechecker.error)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
domain huh {
2+
function myfun(b: Bool): Bool
3+
}
4+
5+
method m()
6+
{
7+
assert (myfun(forall i: Int :: i > 0 || i <= 0))
8+
}

src/test/resources/wands/regression/consistency_let_resolver.vpr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ method test02() {
1212
assert (let y == (0) in true) && y == 0
1313
}
1414

15-
//:: ExpectedOutput(typechecker.error)
1615
method test03(y: Int) {
16+
//:: ExpectedOutput(typechecker.error)
1717
assert let y == (0) in true
1818
}
1919

20+
//:: ExpectedOutput(typechecker.error)
2021
method test03() {
2122
//:: ExpectedOutput(typechecker.error)
2223
assert let y == (0) in let y == (true) in true

0 commit comments

Comments
 (0)