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
57bfe489
Commit
57bfe489
authored
Jun 24, 2013
by
Simon Peyton Jones
Browse files
Test Trac
#8002
parent
3df89530
Changes
5
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/indexed-types/should_compile/Makefile
View file @
57bfe489
...
...
@@ -25,3 +25,9 @@ T6152:
$(RM)
T6152.o T6152.hi
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T6152.hs
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T6152.hs
-fforce-recomp
T8002
:
$(RM)
T8002a.o T8002a.hi T8002b.o T8002b.hi
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T8002b.hs
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T8002a.hs
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T8002.hs
testsuite/tests/indexed-types/should_compile/T8002.hs
0 → 100644
View file @
57bfe489
{-# LANGUAGE TypeFamilies #-}
module
T8002
where
import
T8002a
testsuite/tests/indexed-types/should_compile/T8002a.hs
0 → 100644
View file @
57bfe489
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeFamilies #-}
module
T8002a
where
import
T8002b
class
QA
a
where
type
QRep
a
type
QRep
a
=
QRep
(
Maybe
a
)
instance
QA
()
where
type
QRep
()
=
()
testsuite/tests/indexed-types/should_compile/T8002b.hs
0 → 100644
View file @
57bfe489
{-# LANGUAGE TypeFamilies #-}
module
T8002b
where
type
family
Rep
a
type
instance
Rep
Int
=
Int
testsuite/tests/indexed-types/should_compile/all.T
View file @
57bfe489
...
...
@@ -214,3 +214,8 @@ test('T7804', normal, compile, [''])
test
('
T7837
',
normal
,
compile
,
['
-O -ddump-rule-firings
'])
test
('
T4185
',
normal
,
compile
,
[''])
# Cuased infinite loop in the compiler
test
('
T8002
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory T8002
'])
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