solidity/test/libsolidity/smtCheckerTests/types/contract_2.sol

16 lines
199 B
Solidity

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