d932b15c0d
Bug: Change-Id: Ifb1626e45868c1bfc626edd83c7d9db5680764ed Reviewed-on: https://dart-review.googlesource.com/11246 Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Phil Quitslund <pquitslund@google.com>
18 lines
438 B
Dart
18 lines
438 B
Dart
// 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.
|
|
|
|
import "dart:isolate";
|
|
import "package:expect/expect.dart";
|
|
|
|
func() {}
|
|
|
|
main() {
|
|
var r = new RawReceivePort();
|
|
r.handler = (v) {
|
|
Expect.isTrue(v[0] == v[1]);
|
|
r.close();
|
|
};
|
|
r.sendPort.send([func, func]);
|
|
}
|