aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTestsJSON/simple.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/smtCheckerTestsJSON/simple.sol')
-rw-r--r--test/libsolidity/smtCheckerTestsJSON/simple.sol10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/libsolidity/smtCheckerTestsJSON/simple.sol b/test/libsolidity/smtCheckerTestsJSON/simple.sol
new file mode 100644
index 00000000..6bc7193d
--- /dev/null
+++ b/test/libsolidity/smtCheckerTestsJSON/simple.sol
@@ -0,0 +1,10 @@
+pragma experimental SMTChecker;
+
+contract C
+{
+ function f(uint x) public pure {
+ assert(x > 0);
+ }
+}
+// ----
+// Warning: (82-95): Assertion violation happens here