summaryrefslogtreecommitdiff
path: root/Test/inline/fundef2.bpl
diff options
context:
space:
mode:
authorGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-07 19:36:02 +0100
committerGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-07 19:36:02 +0100
commit8702d84fd360d9c2f11da295d616af4738bfd09a (patch)
treeb3900efaeec0ffc53ab1a8c4a7e826ec66bc086d /Test/inline/fundef2.bpl
parent9f555ab92f7cfe9edab8f12277b27cdee1849c32 (diff)
Enabled the inline lit tests. In order to support expansion2.bpl
we now require the OutputCheck tool. The lit.site.cfg file has been taught to require that this tool is in the user's PATH before testing starts.
Diffstat (limited to 'Test/inline/fundef2.bpl')
-rw-r--r--Test/inline/fundef2.bpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/Test/inline/fundef2.bpl b/Test/inline/fundef2.bpl
index 2e005fcc..527d235d 100644
--- a/Test/inline/fundef2.bpl
+++ b/Test/inline/fundef2.bpl
@@ -1,7 +1,9 @@
+// RUN: %boogie %s > %t
+// RUN: %diff %s.expect %t
function {:inline true} foo(x:int) returns(bool)
{ x > 0 }
procedure P() {
assert foo(13);
assert foo(-5); // error
-} \ No newline at end of file
+}