text: //// [commentsExternalModules_1.ts]
  /**This is on import declaration*/
  import extMod = require("commentsExternalModules_0");
  extMod.m1.fooExport();
  var newVar = new extMod.m1.m2.c();
  extMod.m4.fooExport();
  var newVar2 = new extMod.m4.m2.c();
  
  
  //// [commentsExternalModules_0.js]
  define(["require", "exports"], function(require, exports) {
      /** Module comment*/
      (function (m1) {
          /** b's comment*/
          m1.b;
  
          /** foo's comment*/
          function foo() {
              return m1.b;
          }
  
          /** m2 comments*/
          (function (m2) {
              /** class comment;*/
              var c = (function () {
                  function c() {
                  }
                  return c;
              })();
              m2.c = c;
              ;
  
              /** i*/
              m2.i = new c();
          })(m1.m2 || (m1.m2 = {}));
          var m2 = m1.m2;
  
          /** exported function*/
          function fooExport() {
              return foo();
          }
          m1.fooExport = fooExport;
      })(exports.m1 || (exports.m1 = {}));
      var m1 = exports.m1;
      m1.fooExport();
      var myvar = new m1.m2.c();
  
      /** Module comment */
      (function (m4) {
          /** b's comment */
          m4.b;
  
          /** foo's comment
          */
          function foo() {
              return m4.b;
          }
  
          /** m2 comments
          */
          (function (m2) {
              /** class comment; */
              var c = (function () {
                  function c() {
                  }
                  return c;
              })();
              m2.c = c;
              ;
  
              /** i */
              m2.i = new c();
          })(m4.m2 || (m4.m2 = {}));
          var m2 = m4.m2;
  
          /** exported function */
          function fooExport() {
              return foo();
          }
          m4.fooExport = fooExport;
      })(exports.m4 || (exports.m4 = {}));
      var m4 = exports.m4;
      m4.fooExport();
      var myvar2 = new m4.m2.c();
  });
  //// [commentsExternalModules_1.js]
  define(["require", "exports", "commentsExternalModules_0"], function(require, exports, extMod) {
      extMod.m1.fooExport();
      var newVar = new extMod.m1.m2.c();
      extMod.m4.fooExport();
      var newVar2 = new extMod.m4.m2.c();
  });
  
  
  ////[commentsExternalModules_0.d.ts]
  /** Module comment*/
  export declare module m1 {
      /** b's comment*/
      var b: number;
      /** m2 comments*/
      module m2 {
          /** class comment;*/
          class c {
          }
          /** i*/
          var i: c;
      }
      /** exported function*/
      function fooExport(): number;
  }
  /** Module comment */
  export declare module m4 {
      /** b's comment */
      var b: number;
      /** m2 comments
      */
      module m2 {
          /** class comment; */
          class c {
          }
          /** i */
          var i: c;
      }
      /** exported function */
      function fooExport(): number;
  }
  ////[commentsExternalModules_1.d.ts]
  