blob: fa5751e32c34308501b594cf0d7fa52723349ca8 [file] [log] [blame]
# 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
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
worldType: updated
expectInitializeFromDill: false
invalidate:
- structs.dart
expectedLibraryCount: 1
expectsRebuildBodiesOnly: false