Commit 184d7cb8 authored by Ryan Scott's avatar Ryan Scott
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.
parent 577effd4
{-# 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?
......@@ -425,6 +425,7 @@ test('T12130', extra_clean(['T12130a.hi','T12130a.o']),
test('T12403', omit_ways(['ghci']),
compile_and_run, ['-v0 -ddump-splices -dsuppress-uniques'])
test('T12407', omit_ways(['ghci']), compile, ['-v0'])
test('T12411', normal, compile_fail, [''])
test('T12478_1', omit_ways(['ghci']), compile_and_run,
['-v0 -dsuppress-uniques'])
test('T12478_2', omit_ways(['ghci']), compile_and_run, ['-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