Skip to content

Instantly share code, notes, and snippets.

@Roger-Wu
Created April 17, 2018 08:10
Show Gist options
  • Save Roger-Wu/2e93385fcc09d543aa9fda70b1f6f494 to your computer and use it in GitHub Desktop.
Save Roger-Wu/2e93385fcc09d543aa9fda70b1f6f494 to your computer and use it in GitHub Desktop.
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