diff --git a/testsuite/tests/rename/should_compile/T10625.hs b/testsuite/tests/rename/should_compile/T10625.hs new file mode 100644 index 0000000000000000000000000000000000000000..5229fbedcc8de1760421e35371a1fc8b7499358d --- /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 8c120cd4c20b3b1fd21839a956ba14d0f32fae37..65f92e27799995d3725de9ec190eb8b15fd38997 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, [''])