aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/constructor_super.sol
blob: fa1be1878a8c70b66400ddeee7a176213ab57d31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
contract A {
  function x() pure internal {}
}

contract B is A {
  constructor() public {
    // used to trigger warning about using ``this`` in constructor
    super.x();
  }
}