mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Fix require with message
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
pragma experimental SMTChecker;
|
||||
contract C {
|
||||
function f(uint a) public pure {
|
||||
require(a < 10, "Input number is too large.");
|
||||
assert(a < 20);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (97-125): Assertion checker does not yet support the type of this literal (literal_string "Input number is too large.").
|
||||
Reference in New Issue
Block a user