Created
April 17, 2018 08:10
-
-
Save Roger-Wu/2e93385fcc09d543aa9fda70b1f6f494 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.21; | |
contract A { | |
function f() internal { | |
g(); | |
} | |
function g() internal { | |
} | |
} | |
contract B is A { | |
function f() internal { | |
super.f(); | |
} | |
function g() internal { | |
super.g(); | |
} | |
} | |
contract C is B { | |
function fp() public { | |
super.f(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment