solidity/test/libsolidity/syntaxTests/errors/assert_with_error.sol
2022-04-01 23:41:18 -05:00

7 lines
196 B
Solidity

error E();
function f() pure {
assert(E());
}
// ----
// TypeError 9553: (42-45='E()'): Invalid type for argument in function call. Invalid implicit conversion from tuple() to bool requested.