mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			452 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			452 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract ERC20 {
 | |
| 	/// @notice This event is emitted when a transfer occurs.
 | |
| 	/// @param from The source account.
 | |
| 	/// @param to The destination account.
 | |
| 	/// @param amount The amount.
 | |
| 	/// @dev A test case!
 | |
| 	event Transfer(address indexed from, address indexed to, uint amount);
 | |
| }
 | |
| 
 | |
| contract A is ERC20 {
 | |
| 	/// @inheritdoc ERC20
 | |
| 	event Transfer();
 | |
| }
 | |
| 
 | |
| 
 | |
| // ----
 | |
| // DocstringParsingError 6546: (305-326): Documentation tag @inheritdoc not valid for events.
 |