mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			384 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			384 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| ==== Source: A.sol ====
 | |
| pragma abicoder               v2;
 | |
| 
 | |
| contract A
 | |
| {
 | |
|     struct S { uint a; }
 | |
|     S public s;
 | |
|     function f(S memory _s) public returns (S memory,S memory) { }
 | |
| }
 | |
| ==== Source: B.sol ====
 | |
| pragma abicoder               v2;
 | |
| 
 | |
| import "./A.sol";
 | |
| contract B is A { }
 | |
| ==== Source: C.sol ====
 | |
| pragma abicoder               v2;
 | |
| 
 | |
| import "./B.sol";
 | |
| contract C is B { }
 | |
| // ----
 |