diff options
| author | Jakub Wieczorek <jakub@jakub.cc> | 2014-10-11 19:24:33 +0200 |
|---|---|---|
| committer | Jakub Wieczorek <jakub@jakub.cc> | 2014-10-11 19:42:26 +0200 |
| commit | 17da4c761da438404f018bc1dee9e2533bb4e0de (patch) | |
| tree | bdc7f324422c067e6be18e5c8a9d6fe95fb831a8 /src/test/debuginfo/simple-struct.rs | |
| parent | 403cd40e6a29cc0f897e4b3d80e1e2bcf38f8875 (diff) | |
| download | rust-17da4c761da438404f018bc1dee9e2533bb4e0de.tar.gz rust-17da4c761da438404f018bc1dee9e2533bb4e0de.zip | |
Remove `virtual` struct tests
Diffstat (limited to 'src/test/debuginfo/simple-struct.rs')
| -rw-r--r-- | src/test/debuginfo/simple-struct.rs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/test/debuginfo/simple-struct.rs b/src/test/debuginfo/simple-struct.rs index dddd00dfbc5..75c31b7beb8 100644 --- a/src/test/debuginfo/simple-struct.rs +++ b/src/test/debuginfo/simple-struct.rs @@ -75,9 +75,6 @@ // gdb-command:print 'simple-struct::PADDING_AT_END' // gdb-check:$18 = {x = -27, y = 28} -// gdb-command:print inheriting -// gdb-check:$19 = {a = 10019, b = -10020, x = -10016, y = -10017.5, z = 10018} - // === LLDB TESTS ================================================================================== @@ -101,7 +98,6 @@ // lldb-command:print padding_at_end // lldb-check:[...]$5 = PaddingAtEnd { x: -10014, y: 10015 } -#![feature(struct_inherit)]; #![allow(unused_variable)]; #![allow(dead_code)]; @@ -110,7 +106,7 @@ struct NoPadding16 { y: i16 } -virtual struct NoPadding32 { +struct NoPadding32 { x: i32, y: f32, z: u32 @@ -173,11 +169,6 @@ static mut PADDING_AT_END: PaddingAtEnd = PaddingAtEnd { y: 14 }; -struct Inheriting : NoPadding32 { - a: u16, - b: i16 -} - fn main() { let no_padding16 = NoPadding16 { x: 10000, y: -10001 }; let no_padding32 = NoPadding32 { x: -10002, y: -10003.5, z: 10004 }; @@ -187,8 +178,6 @@ fn main() { let internal_padding = InternalPadding { x: 10012, y: -10013 }; let padding_at_end = PaddingAtEnd { x: -10014, y: 10015 }; - let inheriting = Inheriting { a: 10019, b: -10020, x: -10016, y: -10017.5, z: 10018 }; - unsafe { NO_PADDING_16.x = 100; NO_PADDING_16.y = -101; |
