diff options
Diffstat (limited to 'src/test/ui/unique/unique-fn-arg-mut.rs')
-rw-r--r-- | src/test/ui/unique/unique-fn-arg-mut.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/unique/unique-fn-arg-mut.rs b/src/test/ui/unique/unique-fn-arg-mut.rs deleted file mode 100644 index 01510200b..000000000 --- a/src/test/ui/unique/unique-fn-arg-mut.rs +++ /dev/null @@ -1,11 +0,0 @@ -// run-pass - -fn f(i: &mut Box<isize>) { - *i = Box::new(200); -} - -pub fn main() { - let mut i = Box::new(100); - f(&mut i); - assert_eq!(*i, 200); -} |