[commit: testsuite] atomics: minor: update test case to go along with atomic_inc change (ce19b62)
git at git.haskell.org
git at git.haskell.org
Wed Aug 21 14:06:48 CEST 2013
Repository : ssh://git@git.haskell.org/testsuite
On branch : atomics
Link : http://ghc.haskell.org/trac/ghc/changeset/ce19b6299c3f7f7f7b2a1db3588b0c1b3a32d6a9/testsuite
>---------------------------------------------------------------
commit ce19b6299c3f7f7f7b2a1db3588b0c1b3a32d6a9
Author: Ryan Newton <rrnewton at gmail.com>
Date: Sun Aug 4 19:56:08 2013 -0400
minor: update test case to go along with atomic_inc change
>---------------------------------------------------------------
ce19b6299c3f7f7f7b2a1db3588b0c1b3a32d6a9
tests/rts/atomicinc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/rts/atomicinc.c b/tests/rts/atomicinc.c
index 8f1c8bf..bfe9278 100644
--- a/tests/rts/atomicinc.c
+++ b/tests/rts/atomicinc.c
@@ -9,7 +9,7 @@ int main(int argc, char *argv[])
StgWord j;
i = 0;
- j = atomic_inc(&i);
+ j = atomic_inc(&i,1);
CHECK(j == 1);
CHECK(i == 1);
More information about the ghc-commits
mailing list