mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			222 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			222 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract C {
 | 
						|
    function f() public pure returns (bytes calldata x) {
 | 
						|
        assembly { x.offset := 0 x.length := 4 }
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// f() -> 0x20, 4, 0x26121ff000000000000000000000000000000000000000000000000000000000
 |