summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/T9964.hs
blob: df15d4779a6fdd81bca3a5013d65edb26133bc82 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE UnboxedTuples #-}
module T9964 where

import GHC.Base

crash :: IO ()
crash = IO (\s ->
  let
    {-# NOINLINE s' #-}
    s' = s
  in (# s', () #))