diff --git a/tests/cases/fourslash/getOccurrencesClassExpressionStaticThis.ts b/tests/cases/fourslash/getOccurrencesClassExpressionStaticThis.ts
new file mode 100644
index 00000000000..5444ab9acdd
--- /dev/null
+++ b/tests/cases/fourslash/getOccurrencesClassExpressionStaticThis.ts
@@ -0,0 +1,56 @@
+///
+
+////var x = class C {
+//// public x;
+//// public y;
+//// public z;
+//// public staticX;
+//// constructor() {
+//// this;
+//// this.x;
+//// this.y;
+//// this.z;
+//// }
+//// foo() {
+//// this;
+//// () => this;
+//// () => {
+//// if (this) {
+//// this;
+//// }
+//// }
+//// function inside() {
+//// this;
+//// (function (_) {
+//// this;
+//// })(this);
+//// }
+//// return this.x;
+//// }
+////
+//// static bar() {
+//// [|this|];
+//// [|this|].staticX;
+//// () => [|this|];
+//// () => {
+//// if ([|this|]) {
+//// [|this|];
+//// }
+//// }
+//// function inside() {
+//// this;
+//// (function (_) {
+//// this;
+//// })(this);
+//// }
+//// }
+////}
+
+const ranges = test.ranges();
+for (let r of ranges) {
+ goTo.position(r.start);
+
+ for (let range of ranges) {
+ verify.occurrencesAtPositionContains(range, false);
+ }
+}
diff --git a/tests/cases/fourslash/getOccurrencesClassExpressionThis.ts b/tests/cases/fourslash/getOccurrencesClassExpressionThis.ts
new file mode 100644
index 00000000000..ed8f8cb1d0e
--- /dev/null
+++ b/tests/cases/fourslash/getOccurrencesClassExpressionThis.ts
@@ -0,0 +1,54 @@
+///
+
+////var x = class C {
+//// public x;
+//// public y;
+//// public z;
+//// constructor() {
+//// [|this|];
+//// [|this|].x;
+//// [|this|].y;
+//// [|this|].z;
+//// }
+//// foo() {
+//// [|this|];
+//// () => [|this|];
+//// () => {
+//// if ([|this|]) {
+//// [|this|];
+//// }
+//// }
+//// function inside() {
+//// this;
+//// (function (_) {
+//// this;
+//// })(this);
+//// }
+//// return [|this|].x;
+//// }
+////
+//// static bar() {
+//// this;
+//// () => this;
+//// () => {
+//// if (this) {
+//// this;
+//// }
+//// }
+//// function inside() {
+//// this;
+//// (function (_) {
+//// this;
+//// })(this);
+//// }
+//// }
+////}
+
+const ranges = test.ranges();
+for (let r of ranges) {
+ goTo.position(r.start);
+
+ for (let range of ranges) {
+ verify.occurrencesAtPositionContains(range, false);
+ }
+}