solidity/test/libsolidity/syntaxTests/modifiers/constructor_call_invalid_arg_count.sol
2018-04-11 22:00:21 +02:00

10 lines
257 B
Solidity

// 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.