``` // error-pattern:non-exhaustive match failure fn test_box() { @100; } fn test_str() { let res = alt false { true { "happy" } }; assert res == "happy"; } fn main() { test_box(); test_str(); } ``` About 80% of the time: ``` Assertion failed: (alloc->magic == MAGIC), function free, file ../src/rt/memory_region.cpp, line 41. ``` or ``` malloc: ... pointer being freed was not allocated ```
Activity
brson commentedon Sep 20, 2011
This is bizarre that the call to test_box matters here.
Fix recursive read problem (rust-lang#945)
Use the expect_fail message in the check description (rust-lang#945)
Merge rust-lang#959
Auto merge of rust-lang#945 - christianpoveda:ptr-align-offset, r=oli…
Merge pull request #945 from kutsibalci/fix-broken-doc-links