Commit 8eef271c authored by's avatar
Browse files

Add test for T7878

parent a9f00a6e
module T7878C where
import T7878A
{-# LANGUAGE DeriveGeneric #-}
module T7878A where
import T7878B
import GHC.Generics
data Test deriving Generic
module T7878A where
data Test -- The panic occurs regardless of whether this line is included
module T7878B where
import {-# SOURCE #-} T7878A
......@@ -24,4 +24,9 @@ test('GenCannotDoRep1_4', normal, compile_fail, [''])
test('GenCannotDoRep1_5', normal, compile_fail, [''])
test('GenCannotDoRep1_6', normal, compile_fail, [''])
test('GenCannotDoRep1_7', normal, compile_fail, [''])
test('GenCannotDoRep1_8', normal, compile_fail, [''])
\ No newline at end of file
test('GenCannotDoRep1_8', normal, compile_fail, [''])
test('T7878', extra_clean(['T7878A.o' ,'T7878A.hi'
,'T7878B.o' ,'T7878B.hi']),
multimod_compile, ['T7878', '-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