diff --git a/tests/cases/fourslash/tsxCompletion5.ts b/tests/cases/fourslash/tsxCompletion5.ts
new file mode 100644
index 00000000000..2de6d9a4132
--- /dev/null
+++ b/tests/cases/fourslash/tsxCompletion5.ts
@@ -0,0 +1,15 @@
+///
+
+//@Filename: file.tsx
+//// declare module JSX {
+//// interface Element { }
+//// interface IntrinsicElements {
+//// div: { ONE: string; TWO: number; }
+//// }
+//// }
+//// var x =
;
+
+goTo.marker();
+verify.completionListContains("ONE");
+verify.completionListContains("TWO");
+verify.not.completionListAllowsNewIdentifier();
\ No newline at end of file