/**/
+
+goTo.marker();
+verify.memberListCount(1);
+verify.completionListContains('div');
\ No newline at end of file
diff --git a/tests/cases/fourslash/tsxCompletionOnClosingTag3.ts b/tests/cases/fourslash/tsxCompletionOnClosingTag3.ts
new file mode 100644
index 00000000000..80d2b0c00ba
--- /dev/null
+++ b/tests/cases/fourslash/tsxCompletionOnClosingTag3.ts
@@ -0,0 +1,20 @@
+///
+
+//@Filename: file.tsx
+//// declare module JSX {
+//// interface Element { }
+//// interface IntrinsicElements {
+//// div: { ONE: string; TWO: number; }
+//// }
+//// }
+//// var x1 =
+////
Hello world /*2*/>
+//// /* 1 * />
+
+goTo.marker("1");
+verify.memberListCount(1);
+verify.completionListContains('div');
+
+goTo.marker("2");
+verify.memberListCount(1);
+verify.completionListContains('h1')
diff --git a/tests/cases/fourslash/tsxCompletionOnClosingTag4.ts b/tests/cases/fourslash/tsxCompletionOnClosingTag4.ts
new file mode 100644
index 00000000000..a36a933127d
--- /dev/null
+++ b/tests/cases/fourslash/tsxCompletionOnClosingTag4.ts
@@ -0,0 +1,14 @@
+///
+
+//@Filename: file.tsx
+//// var x1 =
+////
Hello world /*2*/>
+//// /* 1 * />
+
+goTo.marker("1");
+verify.memberListCount(1);
+verify.completionListContains('div');
+
+goTo.marker("2");
+verify.memberListCount(1);
+verify.completionListContains('h1')