2019-02-11 15:02:57 +00:00
|
|
|
// This used to cause an internal error because of the visitation order.
|
|
|
|
contract Test {
|
|
|
|
struct S { uint a; }
|
|
|
|
function f() public {
|
|
|
|
new S();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// TypeError 5540: (147-152): Identifier is not a contract.
|