Commit d84a824c authored by Ryan Scott's avatar Ryan Scott Committed by Ben Gamari
Browse files

Add test for #12411

The fix for #12584 also fixed the problem in #12411. Let's add a test to ensure
that it stays fixed.

(cherry picked from commit 184d7cb8)
parent d7a1f682
{-# LANGUAGE TemplateHaskell #-}
module T12411 where
pure @Q []
T12411.hs:4:1: error:
Pattern syntax in expression context: pure@Q
Did you mean to enable TypeApplications?
......@@ -416,3 +416,4 @@ test('T11484', normal, compile, ['-v0'])
test('T12130', extra_clean(['T12130a.hi','T12130a.o']),
multimod_compile, ['T12130', '-v0 ' + config.ghc_th_way_flags])
test('T12407', omit_ways(['ghci']), compile, ['-v0'])
test('T12411', normal, compile_fail, [''])
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