about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPiotr Jawniak <sawyer47@gmail.com>2014-06-18 19:12:30 +0200
committerPiotr Jawniak <sawyer47@gmail.com>2014-06-18 20:50:27 +0200
commit80d8214f95d3ad3f947a905b49c3de084e684e45 (patch)
tree73030cfd6b783e809389828b5e0a8f61f3716898
parentaf622a491a18c27764199608f927a408af2f317c (diff)
downloadrust-80d8214f95d3ad3f947a905b49c3de084e684e45.tar.gz
rust-80d8214f95d3ad3f947a905b49c3de084e684e45.zip
Remove obsolete test
This test was added long time ago and marked as ignored.
The same test was added later in #8485 as run-fail/issue-3907.rs,
but the old one was not deleted.
-rw-r--r--src/test/auxiliary/trait_typedef_cc.rs13
-rw-r--r--src/test/run-pass/trait-typedef-cc.rs30
2 files changed, 0 insertions, 43 deletions
diff --git a/src/test/auxiliary/trait_typedef_cc.rs b/src/test/auxiliary/trait_typedef_cc.rs
deleted file mode 100644
index 7290fe97a91..00000000000
--- a/src/test/auxiliary/trait_typedef_cc.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-pub trait Foo {
-    fn bar();
-}
diff --git a/src/test/run-pass/trait-typedef-cc.rs b/src/test/run-pass/trait-typedef-cc.rs
deleted file mode 100644
index 62cda8ed82d..00000000000
--- a/src/test/run-pass/trait-typedef-cc.rs
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-// ignore-test FIXME: #3907
-// aux-build:trait_typedef_cc.rs
-extern crate trait_typedef_cc;
-
-type Foo = trait_typedef_cc::Foo;
-
-struct S {
-    name: int
-}
-
-impl Foo for S {
-    fn bar() { }
-}
-
-pub fn main() {
-    let s = S {
-        name: 0
-    };
-    s.bar();
-}