mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 15:01:30 +00:00
00ea62f713
Closes: https://github.com/dart-lang/sdk/issues/47673 TEST=tests/ffi(_2)/regress_47673(_2)_test.dart Change-Id: I8fdafc5378797ed071250b0caed1ab944873a218 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/220760 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Clement Skau <cskau@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
16 lines
378 B
Dart
16 lines
378 B
Dart
// 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 file.
|
|
//
|
|
// SharedObjects=ffi_test_functions
|
|
|
|
import 'dart:ffi';
|
|
|
|
typedef T = Int64;
|
|
|
|
class A extends Struct {
|
|
@Array.multi([16])
|
|
external Array<T> b;
|
|
}
|
|
|
|
main() {}
|