about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorJed Davis <jld@panix.com>2013-02-24 13:15:05 -0800
committerJed Davis <jld@panix.com>2013-03-06 20:41:57 -0800
commit80844f993d8964ca89630115c5c0f7e8beb315cb (patch)
tree37139ecd0ee207141c78edd63a25be128f09d8a3 /src/rt/sync/rust_thread.cpp
parentc7325c417257646afdd93fd3cc10ef891d167643 (diff)
downloadrust-80844f993d8964ca89630115c5c0f7e8beb315cb.tar.gz
rust-80844f993d8964ca89630115c5c0f7e8beb315cb.zip
Add regression tests for a subtle aspect of expr_struct translation.
The first is reduced from a case in rustdoc (originally involving an
ARC); the other is related.  No committed version has gotten these
wrong, but when I broke them it showed up only in rustdoc; there was
nothing in the test suite (or the compiler!) that failed.

The general issue is that the statics and trans have to agree on order
of evaluation, or else you get use-after-move-out-of errors at runtime.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions