11cb0ef41Sopenharmony_ciexport function load () {
21cb0ef41Sopenharmony_ci  let thenAlreadyAccessed = false;
31cb0ef41Sopenharmony_ci  return {
41cb0ef41Sopenharmony_ci    get then() {
51cb0ef41Sopenharmony_ci      if (thenAlreadyAccessed) throw new Error('must not call');
61cb0ef41Sopenharmony_ci      thenAlreadyAccessed = true;
71cb0ef41Sopenharmony_ci      return (_, reject) => reject();
81cb0ef41Sopenharmony_ci    }
91cb0ef41Sopenharmony_ci  };
101cb0ef41Sopenharmony_ci}
11