mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
313 B
Solidity
10 lines
313 B
Solidity
contract C {
|
|
constructor() payable {
|
|
assert(address(this).balance == msg.value); // should fail because there might be funds from before deployment
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// ----
|
|
// Warning 6328: (40-82): CHC: Assertion violation happens here.\nCounterexample:\n\n\nTransaction trace:\nC.constructor()
|