mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove duplicated test
This commit is contained in:
parent
c7d41fd595
commit
545013898e
@ -1,18 +0,0 @@
|
||||
// TODO: Isn't it suppose to be the exact same as all_operators.sol ?
|
||||
|
||||
type MyInt is int;
|
||||
using {add as +} for MyInt;
|
||||
|
||||
function add(MyInt, MyInt) pure returns (MyInt) {
|
||||
return MyInt.wrap(0);
|
||||
}
|
||||
|
||||
contract C {
|
||||
function f() public pure returns (MyInt t) {
|
||||
t = MyInt.wrap(2) + MyInt.wrap(7);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 0
|
Loading…
Reference in New Issue
Block a user