summaryrefslogtreecommitdiff
path: root/examples/api/helloworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/helloworld.cpp')
-rw-r--r--examples/api/helloworld.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/api/helloworld.cpp b/examples/api/helloworld.cpp
index befeaa7bd..49a334504 100644
--- a/examples/api/helloworld.cpp
+++ b/examples/api/helloworld.cpp
@@ -23,6 +23,7 @@ int main() {
ExprManager em;
Expr helloworld = em.mkVar("Hello World!", em.booleanType());
SmtEngine smt(&em);
- std::cout << helloworld << " is " << smt.query(helloworld) << std::endl;
+ std::cout << helloworld << " is " << smt.checkEntailed(helloworld)
+ << std::endl;
return 0;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback