Skip to content

Commit af5f9a9

Browse files
jbclementsalexcrichton
authored andcommitted
---
yaml --- r: 118973 b: refs/heads/master c: 1ea2efe h: refs/heads/master i: 118971: dec3d63 v: v3
1 parent 4591d43 commit af5f9a9

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
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: a4a0c69209b98688db362f9e37a5c0296b9ff7bc
2+
refs/heads/master: 1ea2efece148d3ff4b4739983a14603f1d80a02b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 71fe44def9676d519f5ce5d7304e581a42cf2c70
55
refs/heads/try: 1813e5aa1a03b0596b8de7abd1af31edf5d6098f

trunk/src/test/run-pass/issue-9737.rs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Copyright 2012 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-test #9737
12+
13+
#![feature(macro_rules)]
14+
15+
macro_rules! f((v: $x:expr) => ( println!("{:?}", $x) ))
16+
17+
fn main () {
18+
let v = 5;
19+
f!(v: 3);
20+
}

0 commit comments

Comments
 (0)