2013-07-15 12:14:49 +02: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
|
2013-09-06 16:00:08 +02:00
|
|
|
// debugger:rbreak zzz
|
2013-07-15 12:14:49 +02:00
|
|
|
// debugger:run
|
|
|
|
// debugger:finish
|
|
|
|
|
2013-07-16 13:28:13 +02:00
|
|
|
// debugger:print unique->val.elements[0]->val
|
|
|
|
// check:$1 = 10
|
2013-07-15 12:14:49 +02:00
|
|
|
|
2013-07-16 13:28:13 +02:00
|
|
|
// debugger:print unique->val.elements[1]->val
|
|
|
|
// check:$2 = 11
|
2013-07-15 12:14:49 +02:00
|
|
|
|
2013-07-16 13:28:13 +02:00
|
|
|
// debugger:print unique->val.elements[2]->val
|
|
|
|
// check:$3 = 12
|
2013-07-15 12:14:49 +02:00
|
|
|
|
2013-07-16 13:28:13 +02:00
|
|
|
// debugger:print unique->val.elements[3]->val
|
|
|
|
// check:$4 = 13
|
2013-07-15 12:14:49 +02:00
|
|
|
|
2013-08-17 08:37:42 -07:00
|
|
|
#[allow(unused_variable)];
|
|
|
|
|
2013-07-15 12:14:49 +02:00
|
|
|
fn main() {
|
|
|
|
|
2013-07-16 13:28:13 +02:00
|
|
|
let unique: ~[@i64] = ~[@10, @11, @12, @13];
|
2013-07-15 12:14:49 +02:00
|
|
|
|
|
|
|
zzz();
|
|
|
|
}
|
|
|
|
|
2013-08-17 08:37:42 -07:00
|
|
|
fn zzz() {()}
|