Commit 06d452de authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #5478

parent 3c4cbdf2
{-# LANGUAGE MagicHash #-}
module T5478 where
import GHC.Exts
data Foo = Foo0 ByteArray# deriving Show
T5478.hs:6:38:
Can't make a derived instance of `Show Foo':
Don't know how to derive `Show' for type `ByteArray#'
In the data type declaration for `Foo'
...@@ -33,4 +33,5 @@ test('T3833', normal, compile_fail, ['']) ...@@ -33,4 +33,5 @@ test('T3833', normal, compile_fail, [''])
test('T3834', normal, compile_fail, ['']) test('T3834', normal, compile_fail, [''])
test('T4528', normal, compile_fail, ['']) test('T4528', normal, compile_fail, [''])
test('T5287', normal, compile_fail, ['']) test('T5287', normal, compile_fail, [''])
test('T5478', normal, compile_fail, [''])
Markdown is supported
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