solidity/test/libsolidity/semanticTests/modifiers/modifiers_in_construction_context.sol

15 lines
255 B
Solidity
Raw Normal View History

// The IR of this contract used to throw
contract A {
constructor() m1 { }
modifier m1 { _; }
}
contract B is A {
modifier m2 { _; }
constructor() A() m1 m2 { }
}
// ====
// compileViaYul: also
2021-04-23 15:59:01 +00:00
// compileToEwasm: also
// ----
// constructor() ->