Skip to content

Commit 3d64f8d

Browse files
committed
Join test thread to make assertion effective in sym.rs test case
1 parent addf680 commit 3d64f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/asm/sym.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ fn main() {
7676
std::thread::spawn(|| {
7777
assert_eq!(static_addr!(S1), &S1 as *const u32);
7878
assert_eq!(static_tls_addr!(S2), &S2 as *const u32);
79-
});
79+
}).join().unwrap();
8080
}

0 commit comments

Comments
 (0)