blob: ebb9082406e4dab82b1d0dca4a74c0d7bd0ed98b [file] [log] [blame]
// 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.
/// @assertion The static type of an integer literal is int.
/// @description Checks that integer literal can be assigned to a typed int
/// variable without errors or warnings. Tests big integer values.
/// @note Should be excluded for the web runs.
/// @author iefremov
main() {
int i = 9223372036854775807;
i = 0xffffffffffffffff;
}