mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			311 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			311 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| // Used to cause ICE because of a too strict assert
 | |
| pragma experimental ABIEncoderV2;
 | |
| contract C {
 | |
|     struct S { uint a; T[222222222222222222222222222] sub; }
 | |
|     struct T { uint[] x; }
 | |
|     function f() public returns (uint, S memory) {
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError 1534: (226-234): Type too large for memory.
 |