solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/432_bare_require.sol

7 lines
200 B
Solidity

contract C {
// This is different because it does have overloads.
function f() pure public { require; }
}
// ----
// TypeError: (101-108): No matching declaration found after variable lookup.