mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			321 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			321 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     function f() internal {
 | |
|     }
 | |
|     function g() internal {
 | |
|         g = f;
 | |
|     }
 | |
|     function h() external {
 | |
|     }
 | |
|     function i() external {
 | |
|         this.i = this.h;
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError 4247: (83-84): Expression has to be an lvalue.
 | |
| // TypeError 4247: (166-172): Expression has to be an lvalue.
 |