mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			324 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			324 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| {
 | |
|   let random := 42
 | |
|   for { let a := 1 } iszero(eq(a, 10)) { a := add(a, 1) } {
 | |
|     a := add(a, 1)
 | |
|   }
 | |
| }
 | |
| // ----
 | |
| // forLoopInitRewriter
 | |
| // {
 | |
| //     let random := 42
 | |
| //     let a := 1
 | |
| //     for {
 | |
| //     }
 | |
| //     iszero(eq(a, 10))
 | |
| //     {
 | |
| //         a := add(a, 1)
 | |
| //     }
 | |
| //     {
 | |
| //         a := add(a, 1)
 | |
| //     }
 | |
| // }
 |