blob: df616bec942db96868b27c776d89272f613cf26a [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.
// @dart=2.5
/*library: nnbd=false*/
import 'opt_in.dart';
class LegacyClass extends Class implements Interface {
int method3() => /*int*/ 0;
int method4() => /*int*/ 0;
}
main() {
LegacyClass c = new /*LegacyClass*/ LegacyClass();
/*LegacyClass*/ c. /*invoke: int*/ method1();
/*LegacyClass*/ c. /*invoke: int*/ method2();
/*LegacyClass*/ c. /*invoke: int*/ method3();
/*LegacyClass*/ c. /*invoke: int*/ method4();
}