Commit 6db0f6fe authored by eir@cis.upenn.edu's avatar eir@cis.upenn.edu

Test #9209 in th/T9209

parent e2f78036
{-# LANGUAGE TemplateHaskell #-}
module T9209 where
foo = let $( [d| x = 5 |] ) in x
T9209.hs:5:11:
Declaration splices are allowed only at the top level:
$([d| x = 5 |])
......@@ -342,3 +342,4 @@ test('T9081', normal, compile, ['-v0'])
test('T9066', normal, compile, ['-v0'])
test('T8100', normal, compile, ['-v0'])
test('T9064', normal, compile, ['-v0'])
test('T9209', expect_broken(9209), 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