mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			264 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			264 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|   function f() public pure {
 | |
|     assembly {
 | |
|       function f(a) {}
 | |
| 
 | |
|       f()
 | |
|       f(1)
 | |
|       f(1, 2)
 | |
|     }
 | |
|   }
 | |
| }
 | |
| // ----
 | |
| // TypeError: (87-88): Function expects 1 arguments but got 0.
 | |
| // TypeError: (108-109): Function expects 1 arguments but got 2.
 |