blob: b07fb79d11864f026c156c42b15fb78de8810911 [file] [log] [blame]
// Copyright (c) 2011, 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.
// Check fails because const class extends from non const class.
class Base {
Base() {}
}
class Sub extends Base {
const Sub(a) : a_ = a;
final a_;
}
class NonConstSuperNegativeTest {
static testMain() {
}
}
main() {
NonConstSuperNegativeTest.testMain();
}