Chromium Code Reviews| Index: dart/frog/leg/tests/function_parameters.dart |
| diff --git a/dart/frog/leg/tests/function_parameters.dart b/dart/frog/leg/tests/function_parameters.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..77ab70904407c20030c0324862a63110ec19e77d |
| --- /dev/null |
| +++ b/dart/frog/leg/tests/function_parameters.dart |
| @@ -0,0 +1,11 @@ |
| +// Copyright (c) 2011, 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. |
| + |
| +void main() { |
| + // print(foo(3) + foo(4)); |
|
kasperl
2011/11/08 12:32:49
Looking forward to getting this into frog/tests/le
ahe
2011/11/08 12:40:31
+1
ngeoffray
2011/11/08 12:45:02
Rebase and you should have it there :)
ahe
2011/11/08 12:48:04
Ooh. You speak git now ;-)
|
| +} |
| + |
| +void foo(int a) { |
|
kasperl
2011/11/08 12:32:49
int foo(int a)?
ahe
2011/11/08 12:40:31
Done.
|
| + return a; |
| +} |