Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dspil committed Dec 1, 2023
1 parent fbb0f64 commit 27ec565
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/test/resources/regressions/examples/disableNL.gobra
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/

package pkg

requires 0 <= x && x <= 10
requires 0 <= y && y <= 10
ensures 0 <= res && res <= 100 // would fail with --disableNL
func f(x, y int) (res int) {
return x * y
}

0 comments on commit 27ec565

Please sign in to comment.