about summary refs log tree commit diff
path: root/src/test/ui/functions-closures/fn-bare-spawn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/functions-closures/fn-bare-spawn.rs')
-rw-r--r--src/test/ui/functions-closures/fn-bare-spawn.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/functions-closures/fn-bare-spawn.rs b/src/test/ui/functions-closures/fn-bare-spawn.rs
deleted file mode 100644
index 0d46fe22087..00000000000
--- a/src/test/ui/functions-closures/fn-bare-spawn.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// run-pass
-// This is what the signature to spawn should look like with bare functions
-
-
-fn spawn<T:Send>(val: T, f: fn(T)) {
-    f(val);
-}
-
-fn f(i: isize) {
-    assert_eq!(i, 100);
-}
-
-pub fn main() {
-    spawn(100, f);
-}