blob: 5a96c1070c54bc914ac4dfcba04b85ee4fb20dff [file] [log] [blame]
// Copyright (c) 2022, 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.
import 'api_test_macro.dart';
main() {}
var field;
get getter => null;
set setter(_) => null;
class Class1 {}
abstract class Class2 {}
class Class3 extends Class2 {}
mixin Mixin {}
class Class4 extends Class1 with Mixin {}
void topLevelFunction1(Class1 a, {Class1? b, required Class2? c}) {}
external Class2 topLevelFunction2(Class1 a, [Class2? b]);