about summary refs log tree commit diff
path: root/src/test/run-pass/expr-block-fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/expr-block-fn.rs')
-rw-r--r--src/test/run-pass/expr-block-fn.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/run-pass/expr-block-fn.rs b/src/test/run-pass/expr-block-fn.rs
index 8b461bcf863..19be1e81b66 100644
--- a/src/test/run-pass/expr-block-fn.rs
+++ b/src/test/run-pass/expr-block-fn.rs
@@ -1,8 +1,7 @@
 
 
 fn test_fn() {
-    type t = fn() -> int;
-
+    type t = native fn() -> int;
     fn ten() -> int { ret 10; }
     let rs: t = { ten };
     assert (rs() == 10);