Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
6db0f6fe
Commit
6db0f6fe
authored
Nov 03, 2014
by
eir@cis.upenn.edu
Browse files
Test
#9209
in th/T9209
parent
e2f78036
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/th/T9209.hs
0 → 100644
View file @
6db0f6fe
{-# LANGUAGE TemplateHaskell #-}
module
T9209
where
foo
=
let
$
(
[
d
|
x = 5
|]
)
in
x
testsuite/tests/th/T9209.stderr
0 → 100644
View file @
6db0f6fe
T9209.hs:5:11:
Declaration splices are allowed only at the top level:
$([d| x = 5 |])
testsuite/tests/th/all.T
View file @
6db0f6fe
...
...
@@ -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
'])
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment