about summary refs log tree commit diff
path: root/src/test/debug-info/borrowed-managed-basic.rs
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2014-04-24 11:35:48 +0200
committerMichael Woerister <michaelwoerister@posteo>2014-05-07 19:58:07 +0200
commit55a8bd56e5a89f98aa9d4ed998cb8c686d447805 (patch)
treee49ddf2a659d8129ad336baff052daa881f6f505 /src/test/debug-info/borrowed-managed-basic.rs
parent445988b47811679144d0fa9b3a2ccf2348752850 (diff)
debuginfo: Split debuginfo autotests into debuginfo-gdb and debuginfo-lldb
Diffstat (limited to 'src/test/debug-info/borrowed-managed-basic.rs')
-rw-r--r--src/test/debug-info/borrowed-managed-basic.rs111
1 files changed, 0 insertions, 111 deletions
diff --git a/src/test/debug-info/borrowed-managed-basic.rs b/src/test/debug-info/borrowed-managed-basic.rs
deleted file mode 100644
index e12ebe643a4..00000000000
--- a/src/test/debug-info/borrowed-managed-basic.rs
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-// ignore-android: FIXME(#10381)
-
-#![feature(managed_boxes)]
-
-// Gdb doesn't know about UTF-32 character encoding and will print a rust char as only
-// its numerical value.
-
-// compile-flags:-g
-// debugger:rbreak zzz
-// debugger:run
-// debugger:finish
-// debugger:print *bool_ref
-// check:$1 = true
-
-// debugger:print *int_ref
-// check:$2 = -1
-
-// debugger:print *char_ref
-// check:$3 = 97
-
-// debugger:print/d *i8_ref
-// check:$4 = 68
-
-// debugger:print *i16_ref
-// check:$5 = -16
-
-// debugger:print *i32_ref
-// check:$6 = -32
-
-// debugger:print *i64_ref
-// check:$7 = -64
-
-// debugger:print *uint_ref
-// check:$8 = 1
-
-// debugger:print/d *u8_ref
-// check:$9 = 100
-
-// debugger:print *u16_ref
-// check:$10 = 16
-
-// debugger:print *u32_ref
-// check:$11 = 32
-
-// debugger:print *u64_ref
-// check:$12 = 64
-
-// debugger:print *f32_ref
-// check:$13 = 2.5
-
-// debugger:print *f64_ref
-// check:$14 = 3.5
-
-#![allow(unused_variable)]
-
-fn main() {
-    let bool_box: @bool = @true;
-    let bool_ref: &bool = bool_box;
-
-    let int_box: @int = @-1;
-    let int_ref: &int = int_box;
-
-    let char_box: @char = @'a';
-    let char_ref: &char = char_box;
-
-    let i8_box: @i8 = @68;
-    let i8_ref: &i8 = i8_box;
-
-    let i16_box: @i16 = @-16;
-    let i16_ref: &i16 = i16_box;
-
-    let i32_box: @i32 = @-32;
-    let i32_ref: &i32 = i32_box;
-
-    let i64_box: @i64 = @-64;
-    let i64_ref: &i64 = i64_box;
-
-    let uint_box: @uint = @1;
-    let uint_ref: &uint = uint_box;
-
-    let u8_box: @u8 = @100;
-    let u8_ref: &u8 = u8_box;
-
-    let u16_box: @u16 = @16;
-    let u16_ref: &u16 = u16_box;
-
-    let u32_box: @u32 = @32;
-    let u32_ref: &u32 = u32_box;
-
-    let u64_box: @u64 = @64;
-    let u64_ref: &u64 = u64_box;
-
-    let f32_box: @f32 = @2.5;
-    let f32_ref: &f32 = f32_box;
-
-    let f64_box: @f64 = @3.5;
-    let f64_ref: &f64 = f64_box;
-    zzz();
-}
-
-fn zzz() {()}