blob: 7d751e516dca32b0e303735a73d66d78624ed697 [file] [log] [blame]
<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>>