diff options
| author | Michael Woerister <michaelwoerister@gmail> | 2013-09-13 11:41:49 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@gmail> | 2013-09-15 12:28:25 +0200 |
| commit | 1ce02e71448548d779413860632e07646cbc96b3 (patch) | |
| tree | 1fa3b21b3ab0cb85e4e89a3be4c3b7eabf018bac /src/test/debug-info/trait-pointers.rs | |
| parent | f85da506a88265f7e541ef548c644527f7510945 (diff) | |
| download | rust-1ce02e71448548d779413860632e07646cbc96b3.tar.gz rust-1ce02e71448548d779413860632e07646cbc96b3.zip | |
debuginfo: Added test cases for recursive structs.
Diffstat (limited to 'src/test/debug-info/trait-pointers.rs')
| -rw-r--r-- | src/test/debug-info/trait-pointers.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/debug-info/trait-pointers.rs b/src/test/debug-info/trait-pointers.rs index beb1096b0f4..1a5e3505511 100644 --- a/src/test/debug-info/trait-pointers.rs +++ b/src/test/debug-info/trait-pointers.rs @@ -24,6 +24,7 @@ struct Struct { impl Trait for Struct {} +// There is no real test here yet. Just make that it compiles without crashing. fn main() { let stack_struct = Struct { a:0, b: 1.0 }; let reference: &Trait = &stack_struct as &Trait; |
