blob: c71841a518570bd5226494de66dad2b65aab6e44 [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.
/*library:
Definitions:
import 'dart:core' as i0;
augment void topLevelFunction1(i0.int a, ) {
throw 42;
}
augment void topLevelFunction2(i0.int a, i0.int b, ) {
throw 42;
}
augment void topLevelFunction3(i0.int a, [i0.int? b, ]) {
throw 42;
}
augment void topLevelFunction4(i0.int a, {i0.int? b, i0.int? c, }) {
throw 42;
}
*/
import 'package:macro/macro.dart';
/*member: topLevelFunction1:
augment void topLevelFunction1(int a, ) {
throw 42;
}*/
@FunctionDefinitionMacro1()
external void topLevelFunction1(int a);
/*member: topLevelFunction2:
augment void topLevelFunction2(int a, int b, ) {
throw 42;
}*/
@FunctionDefinitionMacro1()
external void topLevelFunction2(int a, int b);
/*member: topLevelFunction3:
augment void topLevelFunction3(int a, [int? b, ]) {
throw 42;
}*/
@FunctionDefinitionMacro1()
external void topLevelFunction3(int a, [int? b]);
/*member: topLevelFunction4:
augment void topLevelFunction4(int a, {int? b, int? c, }) {
throw 42;
}*/
@FunctionDefinitionMacro1()
external void topLevelFunction4(int a, {int? b, int? c});