diff options
| author | bors <bors@rust-lang.org> | 2014-10-12 06:17:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-12 06:17:17 +0000 |
| commit | 38517d0eba2ee69443449fbe6b1ce7dea7deca7b (patch) | |
| tree | 3b823b949de8c4552dce4d01a1b6c58910a64cd7 /src/test/debuginfo | |
| parent | 86509d8d7ab68c5e4202dea9ff1bfb79409f2f8d (diff) | |
| parent | 4442e6d890136dd20b807140f60718d62f023392 (diff) | |
| download | rust-38517d0eba2ee69443449fbe6b1ce7dea7deca7b.tar.gz rust-38517d0eba2ee69443449fbe6b1ce7dea7deca7b.zip | |
auto merge of #17952 : jakub-/rust/remove-virtual-structs, r=eddyb
Closes #17861.
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; |
