mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			269 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			269 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract Test {
 | |
| 	function testFunc() external {
 | |
| 		while (true) {}
 | |
| 		bytes storage b;
 | |
| 		b[0] = 0x42;
 | |
| 	}
 | |
| }
 | |
| // ----
 | |
| // TypeError 3464: (87-88): This variable is of storage pointer type and can be accessed without prior assignment, which would lead to undefined behaviour.
 |