diff options
Diffstat (limited to 'src/test/ui/unique/unique-assign-copy.rs')
-rw-r--r-- | src/test/ui/unique/unique-assign-copy.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/unique/unique-assign-copy.rs b/src/test/ui/unique/unique-assign-copy.rs deleted file mode 100644 index b742973ce..000000000 --- a/src/test/ui/unique/unique-assign-copy.rs +++ /dev/null @@ -1,12 +0,0 @@ -// run-pass - -pub fn main() { - let mut i: Box<_> = Box::new(1); - // Should be a copy - let mut j; - j = i.clone(); - *i = 2; - *j = 3; - assert_eq!(*i, 2); - assert_eq!(*j, 3); -} |