Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,265
Issues
4,265
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
421
Merge Requests
421
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
f9763a53
Commit
f9763a53
authored
May 15, 2013
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#7910
parent
962fd59e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
testsuite/tests/th/T7910.hs
testsuite/tests/th/T7910.hs
+16
-0
testsuite/tests/th/T7910.stdout
testsuite/tests/th/T7910.stdout
+1
-0
testsuite/tests/th/all.T
testsuite/tests/th/all.T
+2
-1
No files found.
testsuite/tests/th/T7910.hs
0 → 100644
View file @
f9763a53
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE TemplateHaskell #-}
module
Main
where
import
Language.Haskell.TH
import
Language.Haskell.TH.Syntax
class
C
a
instance
C
Int
type
D
a
=
C
a
main
=
print
$
(
do
isCInst
<-
isInstance
''C
[
ConT
''Int
]
isDInst
<-
isInstance
''D
[
ConT
''Int
]
lift
(
isCInst
,
isDInst
))
testsuite/tests/th/T7910.stdout
0 → 100644
View file @
f9763a53
(True,True)
testsuite/tests/th/all.T
View file @
f9763a53
...
...
@@ -273,4 +273,5 @@ test('T7532',
['
T7532
',
'
-v0
'
+
config
.
ghc_th_way_flags
])
test
('
T2222
',
normal
,
compile
,
['
-v0
'])
test
('
T1849
',
normal
,
ghci_script
,
['
T1849.script
'])
test
('
T7681
',
normal
,
compile
,
['
-v0
'])
\ No newline at end of file
test
('
T7681
',
normal
,
compile
,
['
-v0
'])
test
('
T7910
',
normal
,
compile_and_run
,
['
-v0
'])
Write
Preview
Markdown
is supported
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