summaryrefslogtreecommitdiff
path: root/Test/optimization/Optimization2.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/optimization/Optimization2.bpl')
-rw-r--r--Test/optimization/Optimization2.bpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/optimization/Optimization2.bpl b/Test/optimization/Optimization2.bpl
new file mode 100644
index 00000000..7d80d735
--- /dev/null
+++ b/Test/optimization/Optimization2.bpl
@@ -0,0 +1,12 @@
+// RUN: %boogie /noVerify /printModel:4 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+procedure test0(n: int)
+{
+ assume {:minimize true} true;
+}
+
+procedure test1(n: int)
+{
+ assume {:maximize true} true;
+}