diff --git a/tests/cases/fourslash/navbarForDoubleAmbientModules01.ts b/tests/cases/fourslash/navbarForDoubleAmbientModules01.ts new file mode 100644 index 0000000000000..2841f3e548d8d --- /dev/null +++ b/tests/cases/fourslash/navbarForDoubleAmbientModules01.ts @@ -0,0 +1,24 @@ +/// + +//// declare module "foo"; +//// declare module "foo"; + +verify.navigationBar([ + { + "text": "", + "kind": "script", + "childItems": [ + { + "text": "\"foo\"", + "kind": "module", + "kindModifiers": "declare" + } + ] + }, + { + "text": "\"foo\"", + "kind": "module", + "kindModifiers": "declare", + "indent": 1 + } +]); \ No newline at end of file