Skip to content

Commit 42e1f7c

Browse files
---
yaml --- r: 108855 b: refs/heads/dist-snap c: a5b4d94 h: refs/heads/master i: 108853: c65d26f 108851: 50d67e1 108847: b62682f v: v3
1 parent 3cf59d7 commit 42e1f7c

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: e15fd400baa37ac22be9c2e2d9664b7cf3df2dbf
9+
refs/heads/dist-snap: a5b4d94e3daa0fc2ea59785cb6480e421c4bd8e6
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
11+
// ignore-android: FIXME(#10381)
12+
13+
// compile-flags:-g1
14+
15+
// Make sure functions have proper names
16+
// debugger:info functions
17+
// check:static void limited-debuginfo::main();
18+
// check:static void limited-debuginfo::some_function();
19+
// check:static void limited-debuginfo::some_other_function();
20+
// check:static void limited-debuginfo::zzz();
21+
22+
// debugger:rbreak zzz
23+
// debugger:run
24+
25+
// Make sure there is no information about locals
26+
// debugger:finish
27+
// debugger:info locals
28+
// check:No locals.
29+
// debugger:continue
30+
31+
32+
#[allow(unused_variable)];
33+
34+
struct Struct {
35+
a: i64,
36+
b: i32
37+
}
38+
39+
fn main() {
40+
some_function(101, 202);
41+
}
42+
43+
44+
fn zzz() {()}
45+
46+
fn some_function(a: int, b: int) {
47+
let some_variable = Struct { a: 11, b: 22 };
48+
let some_other_variable = 23;
49+
zzz();
50+
}
51+
52+
fn some_other_function(a: int, b: int) -> bool { true }

0 commit comments

Comments
 (0)