Commit 3b6d57fa authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski

Test #8412

parent 6584d736
{-# LANGUAGE TemplateHaskell #-}
import Language.Haskell.TH
type T = $(return $ LitT $ NumTyLit (-1))
T8412.hs:5:12:
Illegal literal in type (type literals must not be negative): -1
In the result of the splice:
$(return $ LitT $ NumTyLit (- 1))
To see what the splice expanded to, use -ddump-splices
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