Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 239 Bytes
contract Suicidal {
address owner;
function suicide() public returns (address) {
require(owner == msg.sender);
selfdestruct(owner);
}
}
contract C is Suicidal {
address owner;
function C() {
owner = msg.sender;
}
}