Skip to content

Commit 5679d09

Browse files
committed
---
yaml --- r: 44375 b: refs/heads/master c: d48bc26 h: refs/heads/master i: 44373: a7f7145 44371: 1977de7 44367: 57126dd v: v3
1 parent 11323d4 commit 5679d09

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: f2a8a712669911eb36166c35199fe18ce19ed7e9
2+
refs/heads/master: d48bc263b57c5b621f214fecf323362341682c02
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
55
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3

trunk/src/test/run-pass/syntax-extension-source-utils.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ pub mod m1 {
1717
}
1818
}
1919

20+
macro_rules! indirect_line( () => ( line!() ) )
21+
2022
pub fn main() {
21-
assert(line!() == 21);
23+
assert(line!() == 23);
2224
assert(col!() == 11);
25+
assert(indirect_line!() == 25);
2326
assert(file!().to_owned().ends_with(~"syntax-extension-source-utils.rs"));
2427
assert(stringify!((2*3) + 5).to_owned() == ~"( 2 * 3 ) + 5");
2528
assert(include!("syntax-extension-source-utils-files/includeme.fragment").to_owned()

0 commit comments

Comments
 (0)