mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
https://github.com/domokit/mojo/issues/98 R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1088263004
15 lines
327 B
Plaintext
15 lines
327 B
Plaintext
<script>
|
|
import "dart:mirrors";
|
|
import "dart:sky.internals" as internals;
|
|
|
|
// Regression test for the embedder not setting up the root library.
|
|
// Used to crash.
|
|
|
|
void main() {
|
|
if (currentMirrorSystem().isolate.rootLibrary == null) {
|
|
throw "Missing root library";
|
|
}
|
|
internals.notifyTestComplete("PASS");
|
|
}
|
|
</script>>
|