Commit ddbeeb3c authored by Ryan Scott's avatar Ryan Scott Committed by Marge Bot

Add regression test for #10504

This issue was fixed at some point between GHC 8.0 and 8.2. Let's add a
regression test to ensure that it stays fixed.

Fixes #10504.
parent 72f2257c
Pipeline #27716 canceled with stages
module T10504 where
import T10504a
{-# SPECIALISE myfun :: Double #-}
T10504.hs:5:1: warning:
SPECIALISE pragma for non-overloaded function ‘myfun’
module T10504a where
{-# INLINABLE myfun #-}
myfun :: a
myfun = undefined
......@@ -468,6 +468,7 @@ test('T10494', normal, compile, [''])
test('T10493', normal, compile, [''])
test('T10428', normal, compile, [''])
test('RepArrow', normal, compile, [''])
test('T10504', normal, multimod_compile, ['T10504', '-O -v0'])
test('T10562', normal, compile, [''])
test('T10564', normal, compile, [''])
test('Vta1', normal, compile, [''])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment