solidity/test/libsolidity/syntaxTests/modifiers/constructor_call_invalid_arg_count.sol
2020-07-07 12:16:18 +02:00

10 lines
248 B
Solidity

// This caused a segfault in an earlier version
contract C {
constructor() {}
}
contract D is C {
constructor() C(5) {}
}
// ----
// TypeError 2973: (120-124): Wrong argument count for modifier invocation: 1 arguments given but expected 0.