aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/lifecycle/Destructible.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/zeppelin/lifecycle/Destructible.sol')
-rw-r--r--test/compilationTests/zeppelin/lifecycle/Destructible.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/compilationTests/zeppelin/lifecycle/Destructible.sol b/test/compilationTests/zeppelin/lifecycle/Destructible.sol
index 00492590..5b0e9f58 100644
--- a/test/compilationTests/zeppelin/lifecycle/Destructible.sol
+++ b/test/compilationTests/zeppelin/lifecycle/Destructible.sol
@@ -10,16 +10,16 @@ import "../ownership/Ownable.sol";
*/
contract Destructible is Ownable {
- constructor() payable { }
+ constructor() public payable { }
/**
* @dev Transfers the current balance to the owner and terminates the contract.
*/
- function destroy() onlyOwner {
+ function destroy() public onlyOwner {
selfdestruct(owner);
}
- function destroyAndSend(address _recipient) onlyOwner {
+ function destroyAndSend(address _recipient) public onlyOwner {
selfdestruct(_recipient);
}
}