summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2016-01-07 09:03:29 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2016-01-07 09:03:29 +0000
commit1ee92293651c0cc70504df1a4450febb986ad891 (patch)
tree49f5c3ffaf8d58a700280d15d42fe04bcf4cbac4 /testsuite/tests/rename
parent9915b6564403a6d17651e9969e9ea5d7d7e78e7f (diff)
downloadhaskell-1ee92293651c0cc70504df1a4450febb986ad891.tar.gz
Test Trac #10625
Diffstat (limited to 'testsuite/tests/rename')
-rw-r--r--testsuite/tests/rename/should_compile/T10625.hs6
-rw-r--r--testsuite/tests/rename/should_compile/all.T1
2 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T10625.hs b/testsuite/tests/rename/should_compile/T10625.hs
new file mode 100644
index 0000000000..5229fbedcc
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/T10625.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE ExistentialQuantification #-}
+{-# OPTIONS_GHC -Wall -Wno-name-shadowing #-}
+
+module T10625 where
+
+data Ex a = forall a. Ex a
diff --git a/testsuite/tests/rename/should_compile/all.T b/testsuite/tests/rename/should_compile/all.T
index 8c120cd4c2..65f92e2779 100644
--- a/testsuite/tests/rename/should_compile/all.T
+++ b/testsuite/tests/rename/should_compile/all.T
@@ -232,3 +232,4 @@ test('T11164',
multimod_compile, ['T11164', '-v0'])
test('T11167', normal, compile, [''])
test('T11167_ambig', normal, compile, [''])
+test('T10625', normal, compile, [''])