about summary refs log tree commit diff
path: root/src/test/auxiliary/static-function-pointer-aux.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-04-26 17:57:12 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-05-06 16:24:48 -0400
commitce0f73bbc45ff685aaea774240d5daf2426b7163 (patch)
treefe40ccc76cad0c81a0dd4259f632f2db8029669c /src/test/auxiliary/static-function-pointer-aux.rs
parentfbc082dcc65d5bb37a4af09b731b01e860b8c5bf (diff)
downloadrust-ce0f73bbc45ff685aaea774240d5daf2426b7163.tar.gz
rust-ce0f73bbc45ff685aaea774240d5daf2426b7163.zip
kill the old auxiliary directory
Diffstat (limited to 'src/test/auxiliary/static-function-pointer-aux.rs')
-rw-r--r--src/test/auxiliary/static-function-pointer-aux.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/auxiliary/static-function-pointer-aux.rs b/src/test/auxiliary/static-function-pointer-aux.rs
deleted file mode 100644
index 2ccdb4e0864..00000000000
--- a/src/test/auxiliary/static-function-pointer-aux.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// 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 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-
-pub fn f(x: isize) -> isize { -x }
-
-pub static F: fn(isize) -> isize = f;
-pub static mut MutF: fn(isize) -> isize = f;