Skip to content

Commit 1095082

Browse files
authored
remove wrong packed struct test
1 parent 1129ce5 commit 1095082

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/test/run-pass/dst-field-align.rs

-6
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ fn main() {
5555
// The pointers should be the same
5656
assert_eq!(ptr1, ptr2);
5757

58-
// Test that packed structs are handled correctly
59-
let p : Packed<usize> = Packed { a: 0, b: 13 };
60-
assert_eq!(p.b.get(), 13);
61-
let p : &Packed<Bar> = &p;
62-
assert_eq!(p.b.get(), 13);
63-
6458
// Test that nested DSTs work properly
6559
let f : Foo<Foo<usize>> = Foo { a: 0, b: Foo { a: 1, b: 17 }};
6660
assert_eq!(f.b.b.get(), 17);

0 commit comments

Comments
 (0)