solidity/test/libsolidity/syntaxTests/dataLocations/publicFunction/function_argument_location_specifier_test_public_calldata.sol

7 lines
213 B
Solidity
Raw Normal View History

contract test {
function f(bytes calldata) public;
}
// ----
2020-05-14 17:02:45 +00:00
// TypeError: (0-56): Contract "test" should be marked as abstract.
// TypeError: (20-54): Functions without implementation must be marked virtual.