2013-04-09 15:53:15 -04:00
|
|
|
// Copyright 2013 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.
|
|
|
|
|
|
|
|
// compile-flags:-Z extra-debug-info
|
|
|
|
// debugger:set print pretty off
|
2013-09-06 16:00:08 +02:00
|
|
|
// debugger:rbreak zzz
|
2013-04-09 15:53:15 -04:00
|
|
|
// debugger:run
|
2013-06-14 12:23:42 -07:00
|
|
|
// debugger:finish
|
2013-07-09 15:14:10 +02:00
|
|
|
// debugger:print *a
|
2013-04-09 15:53:15 -04:00
|
|
|
// check:$1 = 1
|
2013-07-09 15:14:10 +02:00
|
|
|
// debugger:print *b
|
2013-04-09 15:53:15 -04:00
|
|
|
// check:$2 = {2, 3.5}
|
2013-06-26 16:00:42 +02:00
|
|
|
// debugger:print c->val
|
2013-04-09 15:53:15 -04:00
|
|
|
// check:$3 = 4
|
2013-06-26 16:00:42 +02:00
|
|
|
// debugger:print d->val
|
2013-04-09 15:53:15 -04:00
|
|
|
// check:$4 = false
|
|
|
|
|
2013-08-17 08:37:42 -07:00
|
|
|
#[allow(unused_variable)];
|
|
|
|
|
2013-04-09 15:53:15 -04:00
|
|
|
fn main() {
|
|
|
|
let a = ~1;
|
|
|
|
let b = ~(2, 3.5);
|
|
|
|
let c = @4;
|
|
|
|
let d = @false;
|
2013-06-14 12:23:42 -07:00
|
|
|
_zzz();
|
2013-04-09 15:53:15 -04:00
|
|
|
}
|
2013-06-14 12:23:42 -07:00
|
|
|
|
2013-06-20 22:03:05 +12:00
|
|
|
fn _zzz() {()}
|