solidity/test/libsolidity/syntaxTests/iceRegressionTests/identifier_collision_return_declare.sol

6 lines
185 B
Solidity
Raw Normal View History

2020-04-15 10:05:23 +00:00
contract C {
function ( uint ) external returns ( a [ ] calldata ) public a = ( 1 / 2 ) ;
}
// ----
// TypeError 5172: (58-59): Name has to refer to a struct, enum or contract.