// Copyright 2017 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.// Flags: --harmony --allow-natives-syntax --stack-size=100function__f_0(){try{return__f_0();}catch(e){returnimport('no-such-file');}}vardone=false;varerror;varpromise=__f_0();promise.then(assertUnreachable,err=>{done=true;error=err});%RunMicrotasks();assertTrue(error.startsWith('Error reading'));assertTrue(done);