We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3254bef + 1ab06ed commit d53924dCopy full SHA for d53924d
src/test/ui/lto/issue-100772.rs
@@ -0,0 +1,11 @@
1
+// run-pass
2
+// needs-sanitizer-cfi
3
+// compile-flags: -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi
4
+// no-prefer-dynamic
5
+// only-x86_64-unknown-linux-gnu
6
+
7
+#![feature(allocator_api)]
8
9
+fn main() {
10
+ let _ = Box::new_in(&[0, 1], &std::alloc::Global);
11
+}
0 commit comments