diff options
Diffstat (limited to 'src/test/debuginfo')
| -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; |
