From eaa378033c63595ee22cc6ccaf6e737f2193c78b Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 1 Aug 2013 12:00:24 -0700 Subject: [PATCH] test: add testcase, close #4929 which was already fixed. --- src/test/run-pass/issue-4929.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/test/run-pass/issue-4929.rs diff --git a/src/test/run-pass/issue-4929.rs b/src/test/run-pass/issue-4929.rs new file mode 100644 index 0000000000000..5803c3da6cc9c --- /dev/null +++ b/src/test/run-pass/issue-4929.rs @@ -0,0 +1,12 @@ +// 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +fn make_adder(x: int) -> @fn(int) -> int { |y| x + y } +pub fn main() { }