11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ciconst assert = require('assert'); 31cb0ef41Sopenharmony_ciconst m = require('module'); 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciglobal.mwc = 0; 61cb0ef41Sopenharmony_cim.wrapper[0] += 'global.mwc = (global.mwc || 0 ) + 1;'; 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_cirequire('./not-main-module.js'); 91cb0ef41Sopenharmony_ciassert.strictEqual(mwc, 1); 101cb0ef41Sopenharmony_cidelete global.mwc; 11