diff --git a/Lib/fontTools/feaLib/testdata/GSUB_6.fea b/Lib/fontTools/feaLib/testdata/GSUB_6.fea
index ca037cb2a..41f076dc0 100644
--- a/Lib/fontTools/feaLib/testdata/GSUB_6.fea
+++ b/Lib/fontTools/feaLib/testdata/GSUB_6.fea
@@ -15,9 +15,14 @@ lookup ChainedLigatureSubst {
substitute A [C c]' [T t]' Z by c_t;
} ChainedLigatureSubst;
+lookup ChainedContextualSubst {
+ substitute A D E c_t' lookup ChainedMultipleSubst V W X;
+} ChainedContextualSubst;
+
feature test {
lookup ChainedSingleSubst;
lookup ChainedMultipleSubst;
lookup ChainedAlternateSubst;
lookup ChainedLigatureSubst;
+ lookup ChainedContextualSubst;
} test;
diff --git a/Lib/fontTools/feaLib/testdata/GSUB_6.ttx b/Lib/fontTools/feaLib/testdata/GSUB_6.ttx
index 79b7c3e4d..b8ef6c7c6 100644
--- a/Lib/fontTools/feaLib/testdata/GSUB_6.ttx
+++ b/Lib/fontTools/feaLib/testdata/GSUB_6.ttx
@@ -22,16 +22,17 @@
-
+
+
-
+
@@ -231,6 +232,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+