mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			287 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			287 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma abicoder               v2;
 | 
						|
 | 
						|
contract C {
 | 
						|
    struct S { C c; }
 | 
						|
    function f(uint a, S[2] memory s1, uint b) public returns (uint r1, C r2, uint r3) {
 | 
						|
        r1 = a;
 | 
						|
        r2 = s1[0].c;
 | 
						|
        r3 = b;
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// f(uint256,(address)[2],uint256): 7, 0, 0, 8 -> 7, 0, 8
 |