solidity/test/libsolidity/syntaxTests/parsing/constructor_super.sol

11 lines
172 B
Solidity
Raw Normal View History

contract A {
function x() pure internal {}
}
contract B is A {
2020-06-23 12:14:24 +00:00
constructor() {
// used to trigger warning about using ``this`` in constructor
super.x();
}
}