mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			228 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			228 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract test {
 | |
|     function f() public pure returns (uint) {
 | |
|         uint32 x;
 | |
|         uint8 y;
 | |
|         assembly {
 | |
|             x := 0xfffffffffe
 | |
|             y := 0x102
 | |
|         }
 | |
|         return x**y;
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // f() -> 4
 |