mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			232 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			232 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract test {
 | |
|     function fun(uint256 a) public returns (uint8 b) {
 | |
|         if (a < 0) b = 0x67; else if (a == 0) b = 0x12; else b = 0x78;
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // Warning: (20-147): Function state mutability can be restricted to pure
 |