Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
751f0306
Commit
751f0306
authored
Jun 08, 2012
by
Simon Peyton Jones
Browse files
Test Trac
#6152
parent
29d83fe3
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/indexed-types/should_compile/Makefile
View file @
751f0306
...
...
@@ -18,3 +18,10 @@ T5955:
$(RM)
T5955.o T5955.hi T5955a.o T5955a.hi
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T5955a.hs
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T5955.hs
# Compiling twice made 7.4.1 break
T6152
:
$(RM)
T6152.o T6152.hi
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T6152.hs
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T6152.hs
-fforce-recomp
testsuite/tests/indexed-types/should_compile/T6152.hs
0 → 100644
View file @
751f0306
{-# LANGUAGE DataKinds, TypeFamilies, GADTs #-}
module
T6152
where
data
U
=
Unit
data
SU
(
a
::
U
)
where
SInt
::
SU
Unit
type
family
I
(
a
::
U
)
::
U
type
instance
I
Unit
=
Unit
type
SUI
a
=
SU
(
I
a
)
testsuite/tests/indexed-types/should_compile/all.T
View file @
751f0306
...
...
@@ -189,4 +189,9 @@ test('T5955',
run_command
,
['
$MAKE -s --no-print-directory T5955
'])
test
('
T6152
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory T6152
'])
test
('
T6088
',
normal
,
compile
,
[''])
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