]> git.proxmox.com Git - rustc.git/blobdiff - tests/codegen/issue-56267-2.rs
Merge 1.70 into proxmox/bookworm
[rustc.git] / tests / codegen / issue-56267-2.rs
diff --git a/tests/codegen/issue-56267-2.rs b/tests/codegen/issue-56267-2.rs
deleted file mode 100644 (file)
index 4dc9ebf..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// compile-flags: -C no-prepopulate-passes
-
-#![crate_type="rlib"]
-
-#[allow(dead_code)]
-pub struct Foo<T> {
-    foo: u64,
-    bar: T,
-}
-
-// The load from bar.1 should have alignment 4. Not checking
-// other loads here, as the alignment will be platform-dependent.
-
-// CHECK: %{{.+}} = load i32, {{i32\*|ptr}} %{{.+}}, align 4
-#[no_mangle]
-pub fn test(x: Foo<(i32, i32)>) -> (i32, i32) {
-    x.bar
-}