diff options
author | wuestholz <unknown> | 2014-05-29 21:41:00 +0200 |
---|---|---|
committer | wuestholz <unknown> | 2014-05-29 21:41:00 +0200 |
commit | 607ef28aadb281ab61a2be493a637126e967a388 (patch) | |
tree | aae16c049c860e443920f9c6ee31af4e35f8a800 /Test/dafny0/CompilationErrors.dfy | |
parent | dc0a9130355352d0f47e07232d8119fc7219ccbc (diff) |
Set up the same test infrastructure as in Boogie.
Diffstat (limited to 'Test/dafny0/CompilationErrors.dfy')
-rw-r--r-- | Test/dafny0/CompilationErrors.dfy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/dafny0/CompilationErrors.dfy b/Test/dafny0/CompilationErrors.dfy index 205b2296..2f3325a1 100644 --- a/Test/dafny0/CompilationErrors.dfy +++ b/Test/dafny0/CompilationErrors.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
type MyType // compile error: arbitrary type
iterator Iter() // compile error: body-less iterator
ghost method M() // compile error: body-less ghost method
|