mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			326 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			326 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma solidity >0.4.23;
 | 
						|
 | 
						|
contract Storage {
 | 
						|
    function Storage() {}
 | 
						|
    function init() public;
 | 
						|
    function idle();
 | 
						|
    function destroy() public view;
 | 
						|
}
 | 
						|
 | 
						|
contract VolatileStorage is Storage {
 | 
						|
    uint[] array;
 | 
						|
    function init() public { array.length = 3; }
 | 
						|
    function idle() {}
 | 
						|
    function destroy() public view {}
 | 
						|
} |