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