blob: 6762f53064d9a567b931c56b3ed4488c5a8cb026 [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.
// Formatting can break multitests, so don't format them.
// dart format off
library IsolateImportNegativeTest;
// Omitting the following import is an error:
/* //# 01: compile-time error
import 'dart:isolate';
*/ //# 01: continued
import 'package:expect/async_helper.dart';
void entry(msg) {}
main() {
asyncStart();
Isolate.spawn(entry, null).whenComplete(asyncEnd);
}