solang 0.2.1

Solang Solidity Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: --target substrate --emit cfg
contract c {
    event f(bool);

	function test() public returns (int32) {
		int32 x = 104;
        emit f(true);
        x = x + 1;
        emit f(false);
// CHECK: return int32 105
		return x;
	}
}