Fix multi contracts

pull/754/head
Dominik Muhs 6 years ago
parent 622a1d63e6
commit 9787a4a666
  1. 19
      tests/testdata/input_contracts/multi_contracts.sol

@ -1,17 +1,16 @@
pragma solidity ^0.4.17;
pragma solidity 0.5.0;
contract Transfer1 {
function transfer() {
msg.sender.transfer(1 ether);
}
contract Transfer1 {
function transfer() public {
msg.sender.transfer(1 ether);
}
}
contract Transfer2 {
function transfer() {
msg.sender.transfer(2 ether);
}
contract Transfer2 {
function transfer() public {
msg.sender.transfer(2 ether);
}
}

Loading…
Cancel
Save