solidity/test/libsolidity/semanticTests/getters/small_types.sol
2020-07-07 12:16:18 +02:00

20 lines
270 B
Solidity

contract C {
uint8 public a;
uint16 public b;
uint128 public c;
uint public d;
constructor() {
a = 3;
b = 4;
c = 5;
d = 6;
}
}
// ====
// compileViaYul: also
// ----
// a() -> 3
// b() -> 4
// c() -> 5
// d() -> 6