1 2 3 4 5 6 7 8 9 10 11
module T15155 (a, B(..), b) where import Debug.Trace newtype A = A Int newtype B = B A {-# NOINLINE a #-} a = trace "evaluating a" A 42000 b = B a