summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/T18614.hs
blob: ae055e3cfd2473ce27428e6918897c1cedf959d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE MagicHash, UnboxedTuples #-}
{-# OPTIONS_GHC -O #-}

module Main where

import GHC.Exts

main = pure ()

test :: Word8# -> Word8#
test x = x `plusWord8#` narrowWord8# 1##