From 1ee92293651c0cc70504df1a4450febb986ad891 Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones Date: Thu, 7 Jan 2016 09:03:29 +0000 Subject: [PATCH] Test Trac #10625 --- testsuite/tests/rename/should_compile/T10625.hs | 6 ++++++ testsuite/tests/rename/should_compile/all.T | 1 + 2 files changed, 7 insertions(+) create mode 100644 testsuite/tests/rename/should_compile/T10625.hs 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, ['']) -- GitLab