rust/src/test/run-pass/issue-2526-a.rs
Tim Chevalier 6f95c79b95 Traverse types in reachability
Issue 2526 showed a test case where a library exported only a type
that was a synonym for a class. Because the class's destructor wasn't
getting marked as reachable, its linkage was wrongly getting set to
"internal". The solution is for reachability to traverse types.

Closes #2526.
2012-06-13 11:57:01 -07:00

9 lines
81 B
Rust

// xfail-fast
// aux-build:issue-2526.rs
use zmq;
import zmq::*;
fn main() {}