solidity/test/libsolidity/syntaxTests/errors/named_require.sol
2021-02-11 14:18:04 +01:00

7 lines
151 B
Solidity

error E();
function f() pure {
require({error: E()});
}
// ----
// TypeError 1886: (35-56): Named arguments cannot be used for this function call.