about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-19 17:26:26 +0000
committerbors <bors@rust-lang.org>2014-06-19 17:26:26 +0000
commit22d62fc8e1472fdc30a83bc18c8e10687f7e8c6e (patch)
treece2c92a20ed2d50c1d95c4237a9643e1da0dd348 /src
parentbb06790c37e839c98427b966cd079da712268415 (diff)
parent80d8214f95d3ad3f947a905b49c3de084e684e45 (diff)
auto merge of #15033 : Sawyer47/rust/old-test, r=alexcrichton
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.
Diffstat (limited to 'src')
-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();
-}