mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			309 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			309 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| // Test for regression of https://github.com/ethereum/solidity/issues/8406
 | |
| 
 | |
| contract C {
 | |
|   address constant e = 0x1212121212121212121212121000002134593163;
 | |
| 
 | |
|   function f() public returns (bytes1 z) {
 | |
|     assembly { z := e }
 | |
|   }
 | |
| }
 | |
| 
 | |
| // ====
 | |
| // compileViaYul: also
 | |
| // compileToEwasm: also
 | |
| // ----
 | |
| // f() -> 0x00
 |