summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts')
-rw-r--r--testsuite/tests/ghci/scripts/T21507.script5
-rwxr-xr-xtestsuite/tests/ghci/scripts/all.T1
2 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T21507.script b/testsuite/tests/ghci/scripts/T21507.script
new file mode 100644
index 0000000000..7c5d3df4cf
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T21507.script
@@ -0,0 +1,5 @@
+:{
+{-# LANGUAGE TypeFamilies #-}
+type family T21507 a where
+ T21507 a = a
+:}
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index 9e7ca144a6..0ad107c4e4 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -368,3 +368,4 @@ test('T21110', [extra_files(['T21110A.hs'])], ghci_script,
['T21110.script'])
test('T17830', [filter_stdout_lines(r'======.*')], ghci_script, ['T17830.script'])
test('T21294a', normal, ghci_script, ['T21294a.script'])
+test('T21507', normal, ghci_script, ['T21507.script'])