blob: 238fac98f36ae58d48aa7e7208aba2ec17479b1d [file] [log] [blame]
// Copyright (c) 2017, 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 void exit(int code)
/// Exit the Dart VM process immediately with the given exit code.
/// @description Checks that Dart process finishes immediately after the [exit]
/// call.
/// @author
import "../../../Utils/expect.dart";
import "dart:io";
main(List<String> args) {
exit(0);"Should not reach here");