mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			355 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			355 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract c {
 | 
						|
    bytes data;
 | 
						|
 | 
						|
    function test() public returns (bytes memory) {
 | 
						|
        for (uint256 i = 0; i < 34; i++) data.push(0x03);
 | 
						|
        data.pop();
 | 
						|
        return data;
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
// ----
 | 
						|
// test() -> 0x20, 33, 0x303030303030303030303030303030303030303030303030303030303030303, 0x0300000000000000000000000000000000000000000000000000000000000000
 |