blob: 5f681d66032f4319f58c8b595486f6e74cc99859 [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 file.
import "dart:ffi";
class MyStruct extends Struct {
external Pointer<Int8> notEmpty;
@Array.multi([]) //# 01: compile-time error
external Array<Int16> a0; //# 01: compile-time error
@Array.multi([1]) //# 02: compile-time error
external Array<Array<Int16>> a1; //# 02: compile-time error
}
void main() {
MyStruct? ms = null;
}