id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
5478	GHC panics when asked to derive Show for ByteArray#	hvr		"The following Haskell 

{{{
#!hs
{-# LANGUAGE MagicHash #-}

import GHC.Exts

data Foo = Foo0 ByteArray#
         deriving Show

main = return ()
}}}

caused GHC to panic with

{{{
[1 of 1] Compiling Main             ( ticket_5478.hs, ticket_5478.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 7.2.1 for x86_64-unknown-linux):
	Error in deriving:
    Can't derive Show for primitive type ghc-prim:GHC.Prim.ByteArray#{(w) tc 3f}

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
}}}"	bug	closed	normal		Compiler	7.2.1	fixed			Unknown/Multiple	Unknown/Multiple	Compile-time crash		deriving/should_fail/T5478			
