summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/ghci/should_run/T10857a.script1
-rw-r--r--testsuite/tests/ghci/should_run/T10857a.stdout6
-rw-r--r--testsuite/tests/ghci/should_run/T10857b.script1
-rw-r--r--testsuite/tests/ghci/should_run/T10857b.stdout4
-rw-r--r--testsuite/tests/ghci/should_run/all.T4
5 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/should_run/T10857a.script b/testsuite/tests/ghci/should_run/T10857a.script
new file mode 100644
index 0000000000..d0b497782f
--- /dev/null
+++ b/testsuite/tests/ghci/should_run/T10857a.script
@@ -0,0 +1 @@
+:showi lang
diff --git a/testsuite/tests/ghci/should_run/T10857a.stdout b/testsuite/tests/ghci/should_run/T10857a.stdout
new file mode 100644
index 0000000000..a37151f062
--- /dev/null
+++ b/testsuite/tests/ghci/should_run/T10857a.stdout
@@ -0,0 +1,6 @@
+base language is: Haskell2010
+with the following modifiers:
+ -XNoDatatypeContexts
+ -XExtendedDefaultRules
+ -XNoMonomorphismRestriction
+ -XNondecreasingIndentation
diff --git a/testsuite/tests/ghci/should_run/T10857b.script b/testsuite/tests/ghci/should_run/T10857b.script
new file mode 100644
index 0000000000..d0b497782f
--- /dev/null
+++ b/testsuite/tests/ghci/should_run/T10857b.script
@@ -0,0 +1 @@
+:showi lang
diff --git a/testsuite/tests/ghci/should_run/T10857b.stdout b/testsuite/tests/ghci/should_run/T10857b.stdout
new file mode 100644
index 0000000000..2619fae00d
--- /dev/null
+++ b/testsuite/tests/ghci/should_run/T10857b.stdout
@@ -0,0 +1,4 @@
+base language is: Haskell2010
+with the following modifiers:
+ -XNoDatatypeContexts
+ -XNondecreasingIndentation
diff --git a/testsuite/tests/ghci/should_run/all.T b/testsuite/tests/ghci/should_run/all.T
index 004794b5e5..a9eded46d9 100644
--- a/testsuite/tests/ghci/should_run/all.T
+++ b/testsuite/tests/ghci/should_run/all.T
@@ -23,6 +23,10 @@ test('T9914', just_ghci, ghci_script, ['T9914.script'])
test('T9915', just_ghci, ghci_script, ['T9915.script'])
test('T10145', just_ghci, ghci_script, ['T10145.script'])
test('T7253', just_ghci, ghci_script, ['T7253.script'])
+test('T10857a', just_ghci, ghci_script, ['T10857a.script'])
+test('T10857b',
+ [extra_hc_opts("-XMonomorphismRestriction -XNoExtendedDefaultRules")],
+ ghci_script, ['T10857b.script'])
test('T11328', just_ghci, ghci_script, ['T11328.script'])
test('T11825', just_ghci, ghci_script, ['T11825.script'])
test('T12128', just_ghci, ghci_script, ['T12128.script'])