summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/T18227A.hs
blob: 5bc76f292f3a09880a62293db9a342ce390f42e4 (plain)
1
2
3
4
5
6
module T18227A (kilter) where
import Data.ByteString.Internal

kilter :: ByteString -> IO ByteString
kilter ps@(PS x _ _) = createAndTrim 1 $ const $ pure 1