solidity/test/libsolidity/smtCheckerTests/types/contract_2.sol
2019-04-17 16:30:11 +02:00

16 lines
194 B
Solidity

pragma experimental SMTChecker;
contract D
{
uint x;
}
contract C
{
function f(D c, D d) public pure {
assert(c == d);
}
}
// ----
// Warning: (109-123): Assertion violation happens here