mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add support to internal function calls
This commit is contained in:
@@ -4,6 +4,7 @@ contract C {
|
||||
function f(uint x, uint y) public pure {
|
||||
x = 7;
|
||||
while ((x = y) > 0) {
|
||||
--y;
|
||||
}
|
||||
assert(x == 7);
|
||||
}
|
||||
@@ -11,4 +12,4 @@ contract C {
|
||||
// ====
|
||||
// SMTSolvers: z3
|
||||
// ----
|
||||
// Warning: (216-230): Assertion violation happens here
|
||||
// Warning: (224-238): Assertion violation happens here
|
||||
|
||||
Reference in New Issue
Block a user