OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 typedef _NullaryFunction(); | 5 typedef _NullaryFunction(); |
6 typedef _UnaryFunction(args); | 6 typedef _UnaryFunction(args); |
7 typedef _BinaryFunction(args, message); | 7 typedef _BinaryFunction(args, message); |
8 | 8 |
9 main() { | 9 main() { |
10 print(main is _NullaryFunction); | 10 print(main is _NullaryFunction); |
11 print(main is _UnaryFunction); | 11 print(main is _UnaryFunction); |
12 print(main is _BinaryFunction); | 12 print(main is _BinaryFunction); |
13 } | 13 } |
OLD | NEW |