blob: 4bf5426b20e4dc4508044fb5aa0884afe5082e4a [file] [log] [blame]
// Copyright (c) 2015, 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.
// Regression test for http://dartbug.com/22487
import 'package:expect/expect.dart';
divIsInt(a, b) => (a / b) is int;
main() {
Expect.isFalse((divIsInt)(10, 3));
}