about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-04-17 02:03:38 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-04-17 02:03:38 +0200
commit4f678509649a59daa17dc968b2aeb1023fb23c0f (patch)
tree2da2570042d0407591e8f23953920ff3cba8cef2 /src/test/codegen/stack-alloc-string-slice.cc
parent0610ee490e2cc1386f300a6855c6a8a78dcba636 (diff)
downloadrust-4f678509649a59daa17dc968b2aeb1023fb23c0f.tar.gz
rust-4f678509649a59daa17dc968b2aeb1023fb23c0f.zip
Fix test for 32-bit targets.
(The cast from the 64-bit value to isize was using the lower 32-bits,
which led to it being treated as a large positive value rather than a
smallish negative one. The fix was to use the same bits for the upper-
and lower- 32 bits.)
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions