mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			336 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			336 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract test {
 | |
|     function f() public {
 | |
|         assembly {
 | |
|             1
 | |
|         }
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // SyntaxError: (73-74): Top-level expressions are not supposed to return values (this expression returns 1 value). Use ``pop()`` or assign them.
 | |
| // DeclarationError: (59-84): Unbalanced stack at the end of a block: 1 surplus item(s).
 |