Commit 0ac8c371 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #7562

parent 4aa886d5
module T7562 where
data Pair2 = Pair2 {-# UNPACK #-} Int
T7562.hs:3:14: Warning:
UNPACK pragma lacks '!' on the first argument of `Pair2'
In the definition of data constructor `Pair2'
In the data declaration for `Pair2'
......@@ -396,3 +396,4 @@ test('holes3', normal, compile_fail, [''])
test('T7408', normal, compile, [''])
test('UnboxStrictPrimitiveFields', normal, compile, [''])
test('T7541', normal, compile, [''])
test('T7562', normal, compile, [''])
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