mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			288 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			288 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| {
 | |
|     function a() -> x {
 | |
|         revert(0, 0)
 | |
|     }
 | |
|     function b() -> x {
 | |
|         return(0, 0)
 | |
|     }
 | |
|     function c() {
 | |
|         sstore(a(), b())
 | |
|     }
 | |
|     function d() {
 | |
|         sstore(b(), a())
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // a: can revert
 | |
| // b: can terminate
 | |
| // c: can terminate
 | |
| // d: can revert
 |