blob: 2af2d9b2ec177028bf8fd881419888b8b55c5c13 [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: main.dart
sources:
main.dart: |
import 'dart:ffi';
import 'lib.dart';
class X extends Struct {
external Y xx;
}
lib.dart: |
import 'dart:ffi';
class Y extends Struct {
@Uint32()
external int yy;
}
expectedLibraryCount: 2
- entry: main.dart
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
expectedLibraryCount: 2
expectsRebuildBodiesOnly: false