blob: ff530974e2d3e12aa8946c5c70ab271c759c1b88 (
plain)
1
2
3
4
5
6
7
8
9
|
module Lib where
data Number = F {-# UNPACK #-} !Float | I {-# UNPACK #-} !Int
-- This UNPACK was causing a panic:
-- ghc-stage1: panic! (the 'impossible' happened)
-- (GHC version 8.1.20160722 for x86_64-unknown-linux):
-- LocalReg's live-in to graph crG {_grh::F32, _gri::I64}
data T = T {-# UNPACK #-} !Number
|