mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			364 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			364 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|   function f() public {
 | |
|     assembly {
 | |
|       super := 1
 | |
|       f := 1
 | |
|       C := 1
 | |
|     }
 | |
|   }
 | |
| }
 | |
| // ----
 | |
| // TypeError: (58-63): Only local variables can be assigned to in inline assembly.
 | |
| // TypeError: (75-76): Only local variables can be assigned to in inline assembly.
 | |
| // TypeError: (88-89): Only local variables can be assigned to in inline assembly.
 |