mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
8beb778e64
Closes: https://github.com/dart-lang/sdk/issues/52298 Change-Id: Ibfccd34a877d5786f4720790b5ff88dcc643c9d6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/301980 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
18 lines
384 B
Dart
18 lines
384 B
Dart
// Copyright (c) 2023, 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 file.
|
|
|
|
import 'dart:ffi';
|
|
|
|
final class Foo extends Struct {
|
|
external Pointer<Void> field;
|
|
}
|
|
|
|
mixin Bar {
|
|
late final field = 123;
|
|
}
|
|
|
|
void main() {
|
|
print('something');
|
|
}
|