| # Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file |
| # for details. All rights reserved. Use of this source code is governed by a |
| # BSD-style license that can be found in the LICENSE.md file. |
| |
| # Reproduce a crash. |
| |
| type: newworld |
| worlds: |
| - entry: structs.dart |
| errors: true |
| experiments: non-nullable |
| sources: |
| structs.dart: | |
| import 'dart:ffi'; |
| class A extends Struct { |
| external Y yy; |
| } |
| class Y extends Struct { |
| external Z zz; |
| } |
| expectedLibraryCount: 1 |
| |
| - entry: structs.dart |
| errors: true |
| experiments: non-nullable |
| worldType: updated |
| expectInitializeFromDill: false |
| invalidate: |
| - structs.dart |
| expectedLibraryCount: 1 |
| expectsRebuildBodiesOnly: false |
| |