From 80d8214f95d3ad3f947a905b49c3de084e684e45 Mon Sep 17 00:00:00 2001 From: Piotr Jawniak Date: Wed, 18 Jun 2014 19:12:30 +0200 Subject: [PATCH] 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. --- src/test/auxiliary/trait_typedef_cc.rs | 13 ----------- src/test/run-pass/trait-typedef-cc.rs | 30 -------------------------- 2 files changed, 43 deletions(-) delete mode 100644 src/test/auxiliary/trait_typedef_cc.rs delete mode 100644 src/test/run-pass/trait-typedef-cc.rs diff --git a/src/test/auxiliary/trait_typedef_cc.rs b/src/test/auxiliary/trait_typedef_cc.rs deleted file mode 100644 index 7290fe97a911e..0000000000000 --- 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 or the MIT license -// , 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 62cda8ed82d75..0000000000000 --- 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 or the MIT license -// , 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(); -}