diff options
Diffstat (limited to 'src/test/ui/associated-types/associated-types-cc.rs')
-rw-r--r-- | src/test/ui/associated-types/associated-types-cc.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/associated-types/associated-types-cc.rs b/src/test/ui/associated-types/associated-types-cc.rs deleted file mode 100644 index 13f1d2720..000000000 --- a/src/test/ui/associated-types/associated-types-cc.rs +++ /dev/null @@ -1,18 +0,0 @@ -// run-pass -#![allow(unused_variables)] -// aux-build:associated-types-cc-lib.rs - -// Test that we are able to reference cross-crate traits that employ -// associated types. - -extern crate associated_types_cc_lib as bar; - -use bar::Bar; - -fn foo<B:Bar>(b: B) -> <B as Bar>::T { - Bar::get(None::<B>) -} - -fn main() { - println!("{}", foo(3)); -} |