about summary refs log tree commit diff
path: root/src/test/run-pass/enum-null-pointer-opt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/enum-null-pointer-opt.rs')
-rw-r--r--src/test/run-pass/enum-null-pointer-opt.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/run-pass/enum-null-pointer-opt.rs b/src/test/run-pass/enum-null-pointer-opt.rs
index 433c3b54224..3e22c833183 100644
--- a/src/test/run-pass/enum-null-pointer-opt.rs
+++ b/src/test/run-pass/enum-null-pointer-opt.rs
@@ -9,7 +9,6 @@
 // except according to those terms.
 
 
-use std::gc::Gc;
 use std::mem::size_of;
 
 trait Trait {}
@@ -33,9 +32,8 @@ fn main() {
     assert_eq!(size_of::<&Trait>(), size_of::<Option<&Trait>>());
     assert_eq!(size_of::<&mut Trait>(), size_of::<Option<&mut Trait>>());
 
-    // Pointers - Box<T> / Gc<T>
+    // Pointers - Box<T>
     assert_eq!(size_of::<Box<int>>(), size_of::<Option<Box<int>>>());
-    assert_eq!(size_of::<Gc<int>>(), size_of::<Option<Gc<int>>>());
 
 
     // The optimization can't apply to raw pointers