2018-04-27 13:44:41 +00:00
contract C {
2018-07-04 16:35:01 +00:00
function f ( ) internal pure returns ( uint , uint , uint , uint ) {
2018-04-27 13:44:41 +00:00
( uint a , uint b , , ) = f ( ) ;
a ; b ;
}
2018-07-04 16:35:01 +00:00
function g ( ) internal pure {
( bytes memory a , string storage b ) = h ( ) ;
2018-04-27 13:44:41 +00:00
a ; b ;
}
2018-07-04 16:35:01 +00:00
function h ( ) internal pure returns ( bytes memory , string storage s ) { s = s ; }
}
2018-04-27 13:44:41 +00:00
// ----
2021-06-04 08:59:03 +00:00
// Warning 5740: (111-115): Unreachable code.
2020-10-08 10:47:47 +00:00
// Warning 6321: (250-262): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.