blob: 19e1912f41ca5f5ca6289a9fa6f863719b215cdf [file] [log] [blame]
// 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.
// where the semantics differ at compile-time (Dart) and runtime (JS).
import "package:expect/expect.dart";
foo() => 0.0;
bar() => 0;
main() {
Expect.equals(foo(), bar());
Expect.equals(0.0, 0);
}