diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-07-18 21:52:16 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-07-18 21:52:16 +0800 |
commit | 25fa1142bc2ba74e75f24f8267d7fcb282423335 (patch) | |
tree | b31677f887c3f696ddd8ed3ff7e94511726865c6 /test/libsolidity | |
parent | 563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c (diff) | |
download | dexon-solidity-25fa1142bc2ba74e75f24f8267d7fcb282423335.tar.gz dexon-solidity-25fa1142bc2ba74e75f24f8267d7fcb282423335.tar.zst dexon-solidity-25fa1142bc2ba74e75f24f8267d7fcb282423335.zip |
Removing tests that are not useful anymore
Diffstat (limited to 'test/libsolidity')
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)); - } -} -// ---- |