Commit 6db0f6fe authored by's avatar
Browse files

Test #9209 in th/T9209

parent e2f78036
{-# LANGUAGE TemplateHaskell #-}
module T9209 where
foo = let $( [d| x = 5 |] ) in x
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'])
Supports Markdown
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