Removing tests that are not useful anymore

This commit is contained in:
Leonardo Alt 2018-07-18 14:52:16 +01:00
parent 563e0fc9a7
commit 25fa1142bc
3 changed files with 0 additions and 43 deletions

View File

@ -1,15 +0,0 @@
// This used to be a test for a.transfer to generate a warning
// because A's fallback function is not payable.
contract A {
function() external {}
}
contract B {
A a;
function() external {
address(a).transfer(100);
}
}
// ----

View File

@ -1,13 +0,0 @@
// This used to be a test for a.transfer to generate a warning
// because A does not have a payable fallback function.
contract A {}
contract B {
A a;
function() external {
address(a).transfer(100);
}
}
// ----

View File

@ -1,15 +0,0 @@
// This used to be a test for a.send to generate a warning
// because A does not have a payable fallback function.
contract A {
function() external {}
}
contract B {
A a;
function() external {
require(address(a).send(100));
}
}
// ----