mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			349 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			349 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract test {
 | 
						|
    constructor() {
 | 
						|
        m_b = 6;
 | 
						|
        m_c = 8;
 | 
						|
    }
 | 
						|
 | 
						|
    uint256 m_a = 5;
 | 
						|
    uint256 m_b;
 | 
						|
    uint256 m_c = 7;
 | 
						|
 | 
						|
    function get() public returns (uint256 a, uint256 b, uint256 c) {
 | 
						|
        a = m_a;
 | 
						|
        b = m_b;
 | 
						|
        c = m_c;
 | 
						|
    }
 | 
						|
}
 | 
						|
// ====
 | 
						|
// compileToEwasm: also
 | 
						|
// compileViaYul: also
 | 
						|
// ----
 | 
						|
// get() -> 5, 6, 8
 |