Skip to content

Commit

Permalink
24954
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Tavares committed Oct 28, 2015
1 parent 2b230a0 commit 2f6cd37
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/24954.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
macro_rules! foo {
($y:expr) => ({
$y = 2;
})
}

fn main() {
let mut x = 1;
foo!(x);
}

0 comments on commit 2f6cd37

Please sign in to comment.