nashorn/test/script/basic/moduleload.js
changeset 18335 1b5fdae617cf
parent 16151 97c1e756ae1e
child 24778 2ff5d7041566
equal deleted inserted replaced
18334:47413e8d71b5 18335:1b5fdae617cf
    23 
    23 
    24 /**
    24 /**
    25  * This loads "module.js" and calls the anonymous top-level function from it.
    25  * This loads "module.js" and calls the anonymous top-level function from it.
    26  *
    26  *
    27  * @test
    27  * @test
    28  * @option --anon-functions
       
    29  * @run
    28  * @run
    30  */
    29  */
    31 
    30 
    32 var exports = {};
    31 var exports = {};
    33 var f = load(__DIR__ + "module.js");
    32 var f = load(__DIR__ + "module.js");