blob: 90aba3159e4e6a42b263f29c06e43c64818d604e [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.
class A {
static var a;
var b;
}
class B extends A {}
class C extends B {
var a; //# 01: ok
static var b; //# 02: compile-time error
}
void main() {
new C();
}