about summary refs log tree commit diff
path: root/src/test/run-pass/dst-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/dst-struct.rs')
-rw-r--r--src/test/run-pass/dst-struct.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/dst-struct.rs b/src/test/run-pass/dst-struct.rs
index 6b8e25e8559..bf5b300f7cf 100644
--- a/src/test/run-pass/dst-struct.rs
+++ b/src/test/run-pass/dst-struct.rs
@@ -49,6 +49,8 @@ fn foo3(x: &Fat<Fat<[int]>>) {
 #[deriving(PartialEq,Eq)]
 struct Bar;
 
+impl Copy for Bar {}
+
 trait ToBar {
     fn to_bar(&self) -> Bar;
 }