mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			214 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			214 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| pragma abicoder v1;
 | |
| struct S {
 | |
|     uint x;
 | |
| }
 | |
| 
 | |
| contract C {
 | |
|     function f() public pure {
 | |
|         abi.decode("1234", (S));
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError 9611: (118-119): Decoding type struct S memory not supported.
 |