summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/cg006.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/codeGen/should_compile/cg006.hs')
-rw-r--r--testsuite/tests/codeGen/should_compile/cg006.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_compile/cg006.hs b/testsuite/tests/codeGen/should_compile/cg006.hs
index 494b37937b..4ae3f5a2e9 100644
--- a/testsuite/tests/codeGen/should_compile/cg006.hs
+++ b/testsuite/tests/codeGen/should_compile/cg006.hs
@@ -5,4 +5,4 @@ module ShouldCompile where
import GHC.Base
class Unboxable a where
writeUnboxable :: MutableByteArray# RealWorld -> a -> State# RealWorld -> State# RealWorld
- writeUnboxable arr a s = writeInt8Array# arr 0# (getTag 0) s
+ writeUnboxable arr a s = writeInt8Array# arr 0# (intToInt8# (getTag 0)) s