diff options
author | 2014-08-13 00:42:38 -0700 | |
---|---|---|
committer | 2014-08-13 00:42:38 -0700 | |
commit | 9f24fd54271e0e70aba494905416f58ff0348c7c (patch) | |
tree | 3d059a0abd1f71a4d99387e261ae2829e1bf2262 /Test/hofs/LambdaParsefail2.dfy | |
parent | 7456be76add1e5d52001657df80d0e3cb00d5065 (diff) | |
parent | bc4e2c251a29902d7421f313aa3c55ba203d1608 (diff) |
Merge
Diffstat (limited to 'Test/hofs/LambdaParsefail2.dfy')
-rw-r--r-- | Test/hofs/LambdaParsefail2.dfy | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/hofs/LambdaParsefail2.dfy b/Test/hofs/LambdaParsefail2.dfy new file mode 100644 index 00000000..ead3b9ec --- /dev/null +++ b/Test/hofs/LambdaParsefail2.dfy @@ -0,0 +1,8 @@ +// RUN: %dafny /print:"%t.print" "%s" > "%t" +// RUN: %diff "%s.expect" "%t" + + +method Fail2() { + var g4 := (x, y : A) => (y, x : B); // RHS should fail! +} + |