blob: c8359e2f2e667ebe32e3c1e96694ebd713e00420 [file] [log] [blame]
// Copyright (c) 2021, 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.
/*cfe.library: nnbd=false*/
/*cfe:nnbd.library: nnbd=true*/
/*class: Interface:
isAbstract,
kernel-members=[
Interface.,
interfaceMethod],
scope=[interfaceMethod]
*/
/*member: Interface.:initializers=[SuperInitializer]*/
abstract class Interface {
void interfaceMethod();
}
/*class: Class:
isAbstract,
kernel-members=[
Class.,
classMethod],
scope=[classMethod]
*/
/*member: Class.:initializers=[SuperInitializer]*/
abstract class Class implements Interface {
external void classMethod();
}