Commit 862772b7 authored by eir@cis.upenn.edu's avatar eir@cis.upenn.edu

Test #9084 in th/T9084.

The patch includes errors for a whole host of pragmas. But, these
are generated one at a time, and it doesn't seem like a good idea
to add gobs of test-cases here.
parent 99882bab
{-# LANGUAGE TemplateHaskell #-}
module T9084 where
$([d|
class C a where
meth :: a -> a
meth = undefined -- give a (silly) default
{-# MINIMAL meth #-}
|])
T9084.hs:5:3: MINIMAL pragmas not (yet) handled by Template Haskell
......@@ -333,3 +333,4 @@ test('T9262', normal, compile, ['-v0'])
test('T9199', normal, compile, ['-v0'])
test('T9692', normal, compile, ['-v0'])
test('T8953', normal, compile, ['-v0'])
test('T9084', normal, compile_fail, ['-v0'])
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