mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Add syntax test for empty emit statement
This commit is contained in:
		
							parent
							
								
									640b8af802
								
							
						
					
					
						commit
						008eb1c2c9
					
				
							
								
								
									
										7
									
								
								test/libsolidity/syntaxTests/emit_empty.sol
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								test/libsolidity/syntaxTests/emit_empty.sol
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| contract C { | ||||
|   function f() public { | ||||
|     emit; | ||||
|   } | ||||
| } | ||||
| // ---- | ||||
| // ParserError: (45-46): Expected event name or path. | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user