mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			440 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			440 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     function f() public pure returns (uint) {
 | |
|         /// @title example of title
 | |
|         /// @author example of author
 | |
|         /// @notice example of notice
 | |
|         /// @dev example of dev
 | |
|         /// @param example of param
 | |
|         /// @return example of return
 | |
|         uint state = 42;
 | |
|         return state;
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // Warning: (290-295): Only state variables can have a docstring. This will be disallowed in 0.7.0.
 |