sync/atomic: Disable tests which can't run based on pointer size.

From-SVN: r184136
This commit is contained in:
Ian Lance Taylor 2012-02-12 05:57:02 +00:00
parent 56c534c50d
commit 14e50d352e
1 changed files with 2 additions and 0 deletions

View File

@ -636,6 +636,7 @@ func init() {
// 64-bit system; clear uintptr tests
hammer32[2].f = nil
hammer32[5].f = nil
hammer32[6].f = nil
}
}
@ -760,6 +761,7 @@ func init() {
// 32-bit system; clear uintptr tests
hammer64[2].f = nil
hammer64[5].f = nil
hammer64[6].f = nil
}
}