diff options
| author | Jed Davis <jld@panix.com> | 2013-02-24 13:15:05 -0800 |
|---|---|---|
| committer | Jed Davis <jld@panix.com> | 2013-03-06 20:41:57 -0800 |
| commit | 80844f993d8964ca89630115c5c0f7e8beb315cb (patch) | |
| tree | 37139ecd0ee207141c78edd63a25be128f09d8a3 /src/rt/sync/rust_thread.cpp | |
| parent | c7325c417257646afdd93fd3cc10ef891d167643 (diff) | |
| download | rust-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
