OLD | NEW |
---|---|
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 void main() { | 5 void main() { |
6 print(foo()); | 6 print(foo()); |
7 } | 7 } |
8 | 8 |
9 void foo() { | 9 int foo() { |
10 return 3 + 4; | 10 return 3 + 4; |
11 } | 11 } |
OLD | NEW |