blob: 63783efc94862f6989f3c92cc19991e02c5b8d83 [file] [log] [blame]
// Copyright (c) 2019, 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.
abstract class A {
static void foo();
// ^
// [cfe] Expected a function body or '=>'.
main() {
// [cfe] The class 'A' is abstract and can't be instantiated.