mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			304 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			304 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract test {
 | 
						|
    function f() public pure returns(uint r) {
 | 
						|
        uint i = 0;
 | 
						|
        do
 | 
						|
        {
 | 
						|
            if (i > 0) return 0;
 | 
						|
            i++;
 | 
						|
            continue;
 | 
						|
        } while (false);
 | 
						|
        return 42;
 | 
						|
    }
 | 
						|
}
 | 
						|
// ====
 | 
						|
// compileToEwasm: also
 | 
						|
// compileViaYul: also
 | 
						|
// ----
 | 
						|
// f() -> 42
 |