blob: e19aab36de369fdb1f9651fa5a813af49ef8b870 [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.
/// @assertion Union subclasses cannot be empty
///
/// @description Checks that it is a compile error if Union subclass is empty
/// @author sgrekhov@unipro.ru
/// @issue 44935
/// @issue 46199
import "dart:ffi";
final class U1 extends Union {
// ^^
// [analyzer] unspecified
// [cfe] unspecified
}
void main() {
U1? u1;
}