blob: 4ba49e405ac6bc3b6e8e0c14e206ebf3e43c7131 [file] [log] [blame] [edit]
// Copyright (c) 2024, 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 It is a compile-time error if:
/// ...
/// An `abstract` variable is augmented with a non-abstract variable.
///
/// @description Checks that that it is a compile-time error if an `abstract`
/// variable is augmented with a non-abstract variable.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=macros
part 'augmenting_members_A09_t01_lib.dart';
abstract class C {
abstract String abstractVariable;
abstract final String finalAbstractVariable;
}
main() {
print(C);
}