diff options
Diffstat (limited to 'test')
3 files changed, 0 insertions, 43 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/463_error_transfer_non_payable_fallback.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/463_error_transfer_non_payable_fallback.sol deleted file mode 100644 index d54965ef..00000000 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/463_error_transfer_non_payable_fallback.sol +++ /dev/null @@ -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); - } -} -// ---- diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/464_error_transfer_no_fallback.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/464_error_transfer_no_fallback.sol deleted file mode 100644 index 59dbd927..00000000 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/464_error_transfer_no_fallback.sol +++ /dev/null @@ -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); - } -} -// ---- diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/465_error_send_non_payable_fallback.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/465_error_send_non_payable_fallback.sol deleted file mode 100644 index 37c1056f..00000000 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/465_error_send_non_payable_fallback.sol +++ /dev/null @@ -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)); - } -} -// ---- |