We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcf622e commit 8797986Copy full SHA for 8797986
src/test/ui/wasm/wasm-hang-issue-76281.rs
@@ -0,0 +1,12 @@
1
+// only-wasm32
2
+// compile-flags: -C opt-level=2
3
+// build-pass
4
+
5
+// Regression test for #76281.
6
+// This seems like an issue related to LLVM rather than
7
+// libs-impl so place here.
8
9
+fn main() {
10
+ let mut v: Vec<&()> = Vec::new();
11
+ v.sort_by_key(|&r| r as *const ());
12
+}
0 commit comments