blob: d6b0c9894d631cece1e2462d1e0098172b38f45f [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 Struct cannot be implemented or used as a mixin
*
* @description Checks that it is a compile error if Struct is used as a mixin
* @author sgrekhov@unipro.ru
* @issue 44935
*/
import "dart:ffi";
class S1 extends Object with Struct {
// ^^^^^^
// [analyzer] unspecified
// [cfe] unspecified
}
void main() {
S1? s1;
}