summaryrefslogtreecommitdiff
path: root/examples/api/helloworld-new.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/helloworld-new.cpp')
-rw-r--r--examples/api/helloworld-new.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/examples/api/helloworld-new.cpp b/examples/api/helloworld-new.cpp
deleted file mode 100644
index 0f98b5dcb..000000000
--- a/examples/api/helloworld-new.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-/********************* */
-/*! \file helloworld-new.cpp
- ** \verbatim
- ** Top contributors (to current version):
- ** Aina Niemetz
- ** This file is part of the CVC4 project.
- ** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
- ** in the top-level source directory) and their institutional affiliations.
- ** All rights reserved. See the file COPYING in the top-level source
- ** directory for licensing information.\endverbatim
- **
- ** \brief A very simple CVC4 example
- **
- ** A very simple CVC4 tutorial example.
- **/
-
-#include <iostream>
-
-#include <cvc4/api/cvc4cpp.h>
-
-using namespace CVC4::api;
-
-int main()
-{
- Solver slv;
- Term helloworld = slv.mkVar(slv.getBooleanSort(), "Hello World!");
- std::cout << helloworld << " is " << slv.checkEntailed(helloworld)
- << std::endl;
- return 0;
-}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback