mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			510 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			510 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract test {
 | |
| 	function f(uint a) public returns (uint d) { return a * 7; }
 | |
| }
 | |
| // ----
 | |
| //     :test
 | |
| // [
 | |
| //   {
 | |
| //     "inputs":
 | |
| //     [
 | |
| //       {
 | |
| //         "internalType": "uint256",
 | |
| //         "name": "a",
 | |
| //         "type": "uint256"
 | |
| //       }
 | |
| //     ],
 | |
| //     "name": "f",
 | |
| //     "outputs":
 | |
| //     [
 | |
| //       {
 | |
| //         "internalType": "uint256",
 | |
| //         "name": "d",
 | |
| //         "type": "uint256"
 | |
| //       }
 | |
| //     ],
 | |
| //     "stateMutability": "nonpayable",
 | |
| //     "type": "function"
 | |
| //   }
 | |
| // ]
 |