aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/modifiers/constructor_call_invalid_arg_count.sol
blob: 4a2b5c4a5b17805bc4dabfa3ba89a052c2a1f11c (plain) (blame)
1
2
3
4
5
6
7
8
9
// This caused a segfault in an earlier version
contract C {
    constructor() public {}
}
contract D is C {
    constructor() C(5) public {}
}
// ----
// TypeError: (127-131): Wrong argument count for modifier invocation: 1 arguments given but expected 0.