github.com/Tri-stone/burrow@v0.25.0/tests/jobs_fixtures/app11-negative_numbers/storage.sol (about)

     1  pragma solidity >=0.0.0;
     2  
     3  contract testNegatives {
     4  	int public x;
     5  	int[2] negativeArray;
     6  	constructor(int a) public {
     7  		x = a;
     8  	} 
     9  	function setX(int a) public {
    10  		x = a;
    11  	}
    12  	function setNegativeArray(int a, int b) public {
    13  		negativeArray[0] = a;
    14  		negativeArray[1] = b;
    15  	}
    16  	function getNegativeArray() public view returns (int[2] memory) {
    17  		return negativeArray;
    18  	}
    19  }