mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add tests for the std files.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
pragma solidity ^0.4.0;
|
||||
|
||||
import "./Token.sol";
|
||||
|
||||
contract StandardToken is Token {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
pragma solidity ^0.4.0;
|
||||
|
||||
contract Token {
|
||||
event Transfer(address indexed _from, address indexed _to, uint256 _value);
|
||||
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
pragma solidity ^0.4.0;
|
||||
|
||||
import "./owned.sol";
|
||||
|
||||
contract mortal is owned {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
pragma solidity ^0.4.0;
|
||||
|
||||
contract owned {
|
||||
address owner;
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
pragma solidity ^0.4.0;
|
||||
|
||||
import "./owned.sol";
|
||||
import "./mortal.sol";
|
||||
import "./Token.sol";
|
||||
|
||||
Reference in New Issue
Block a user