solidity/test/libsolidity/syntaxTests/operators/custom/duplicated_using_directive.sol
2022-09-28 13:07:59 +02:00

15 lines
205 B
Solidity

type Int is int32;
using {add as +} for Int;
using {add as +} for Int;
function add(Int, Int) pure returns(Int) {
return Int.wrap(0);
}
function f() pure {
Int.wrap(0) + Int.wrap(0);
}
// ----