blob: dfcc3dc219b0616eefbfb4c3585824eaa6d20d1c [file] [log] [blame]
// Copyright (c) 2018, 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.9
// This test checks that a noSuchMethod forwarder is generated in the case when
// the user-defined noSuchMethod and the abstract method are both defined in the
// same class.
class A {
dynamic noSuchMethod(Invocation i) {
return null;
}
void foo();
}
main() {}