mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			249 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			249 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
// This used to crash in certain compiler versions.
 | 
						|
contract CrashContract {
 | 
						|
       struct S { uint a; }
 | 
						|
       S x;
 | 
						|
       function f() public {
 | 
						|
               (x, x) = 1(x, x);
 | 
						|
       }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 5704: (170-177): Type is not callable
 |