blob: dc7b84502c7d993d2b60830af0a45fcd5ac3db6c [file] [log] [blame]
// Copyright (c) 2014, 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.
// @dart = 2.9
class A {
static var a;
var b;
class B extends A {}
class C extends B {
var a;
static var b;
// ^
// [cfe] Can't declare a member that conflicts with an inherited one.
void main() {
new C();