Files
openzeppelin-contracts/test/helpers/HasNoEtherTest.sol
Remco Bloemen d1af3ef1b3 Add HasNoEther
2017-03-23 12:23:27 +00:00

18 lines
339 B
Solidity

pragma solidity ^0.4.8;
import "../../contracts/ownership/HasNoEther.sol";
contract HasNoEtherTest is HasNoEther {
// Constructor with explicit payable — should still fail
function HasNoEtherTest() payable {
}
// Default function with explicit payable — should still fail
function() external payable {
throw;
}
}