8a0ebc5fcf
BUG:http://dartbug.com/3559. Committed: https://code.google.com/p/dart/source/detail?r=13459 Committed: https://code.google.com/p/dart/source/detail?r=13467 Review URL: https://codereview.chromium.org//10913133 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13542 260f80e4-7a28-3924-810f-c04153c831b5
11 lines
311 B
Dart
11 lines
311 B
Dart
// Copyright (c) 2012, 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.
|
|
|
|
final x = (t) => t + 1;
|
|
|
|
main() {
|
|
Expect.equals(499, x(498));
|
|
Expect.equals(42, x(41));
|
|
}
|