blob: 6f8fae359001c90cc04636abefc465f3d3e0a7ae [file] [log] [blame] [edit]
// Copyright (c) 2019, 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.
//
// Tests a compile time error that should not crash the analyzer or CFE.
// Formatting can break multitests, so don't format them.
// dart format off
import "dart:ffi";
final class C extends Struct {
dynamic x; //# 1: compile-time error
external Pointer notEmpty;
}
main() {}