summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generics/generic-alias-unique.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/generics/generic-alias-unique.rs')
-rw-r--r--src/test/ui/generics/generic-alias-unique.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/generics/generic-alias-unique.rs b/src/test/ui/generics/generic-alias-unique.rs
deleted file mode 100644
index fc1383986..000000000
--- a/src/test/ui/generics/generic-alias-unique.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-pass
-
-fn id<T:Send>(t: T) -> T { return t; }
-
-pub fn main() {
- let expected: Box<_> = Box::new(100);
- let actual = id::<Box<isize>>(expected.clone());
- println!("{}", *actual);
- assert_eq!(*expected, *actual);
-}