diff options
| author | Oliver Schneider <oli-obk@users.noreply.github.com> | 2017-02-09 17:55:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-09 17:55:39 +0100 |
| commit | 1095082eea65a4bfb577221ae1cac07330770aaa (patch) | |
| tree | 008e42b696cb9cfe2d350602b7ccbe1fbfd61033 | |
| parent | 1129ce51a6cc83ea7d7283fce194948feef4e319 (diff) | |
| download | rust-1095082eea65a4bfb577221ae1cac07330770aaa.tar.gz rust-1095082eea65a4bfb577221ae1cac07330770aaa.zip | |
remove wrong packed struct test
| -rw-r--r-- | src/test/run-pass/dst-field-align.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/run-pass/dst-field-align.rs b/src/test/run-pass/dst-field-align.rs index cf2acfe986c..3a2cf28a24f 100644 --- a/src/test/run-pass/dst-field-align.rs +++ b/src/test/run-pass/dst-field-align.rs @@ -55,12 +55,6 @@ fn main() { // The pointers should be the same assert_eq!(ptr1, ptr2); - // Test that packed structs are handled correctly - let p : Packed<usize> = Packed { a: 0, b: 13 }; - assert_eq!(p.b.get(), 13); - let p : &Packed<Bar> = &p; - assert_eq!(p.b.get(), 13); - // Test that nested DSTs work properly let f : Foo<Foo<usize>> = Foo { a: 0, b: Foo { a: 1, b: 17 }}; assert_eq!(f.b.b.get(), 17); |
