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

7 lines
205 B
Solidity

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