mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			264 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			264 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-3.0
 | |
| pragma solidity >=0.0;
 | |
| 
 | |
| contract C {
 | |
|     uint x;
 | |
|     constructor() { x = a(); }
 | |
|     function a() public pure returns (uint) { return f(); } // this should be inlined
 | |
|     function f() internal pure returns (uint) { return 6; }
 | |
| }
 |