summaryrefslogtreecommitdiff
path: root/Test/dafnyRuntimeChecking/Precondition1.dfy
blob: 1732b0bc018450f10928fa641862b8ced3fdea82 (plain)
1
2
3
4
5
6
7
8
9
method foo(x: int, y: int)
  requires 0 <= x;
  requires y <= 0;
{}

method Main()
{
  foo(2, -7);
}