Skip to content

Commit

Permalink
Remove virtual struct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Wieczorek committed Oct 11, 2014
1 parent 403cd40 commit 17da4c7
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 323 deletions.
18 changes: 0 additions & 18 deletions src/test/compile-fail/inherit-struct1.rs

This file was deleted.

25 changes: 0 additions & 25 deletions src/test/compile-fail/inherit-struct2.rs

This file was deleted.

25 changes: 0 additions & 25 deletions src/test/compile-fail/inherit-struct3.rs

This file was deleted.

24 changes: 0 additions & 24 deletions src/test/compile-fail/inherit-struct4.rs

This file was deleted.

20 changes: 0 additions & 20 deletions src/test/compile-fail/inherit-struct5.rs

This file was deleted.

42 changes: 0 additions & 42 deletions src/test/compile-fail/inherit-struct6.rs

This file was deleted.

19 changes: 0 additions & 19 deletions src/test/compile-fail/inherit-struct7.rs

This file was deleted.

34 changes: 0 additions & 34 deletions src/test/compile-fail/inherit-struct8.rs

This file was deleted.

18 changes: 0 additions & 18 deletions src/test/compile-fail/inherit-struct9.rs

This file was deleted.

13 changes: 1 addition & 12 deletions src/test/debuginfo/simple-struct.rs
Expand Up @@ -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 ==================================================================================

Expand All @@ -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)];

Expand All @@ -110,7 +106,7 @@ struct NoPadding16 {
y: i16
}

virtual struct NoPadding32 {
struct NoPadding32 {
x: i32,
y: f32,
z: u32
Expand Down Expand Up @@ -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 };
Expand All @@ -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;
Expand Down
61 changes: 0 additions & 61 deletions src/test/run-pass/inherit-struct1.rs

This file was deleted.

25 changes: 0 additions & 25 deletions src/test/run-pass/inherit-struct2.rs

This file was deleted.

0 comments on commit 17da4c7

Please sign in to comment.