2024-02-16 20:02:50 +00:00
|
|
|
//@ run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ aux-build:coherence_lib.rs
|
2015-01-01 16:45:59 -05:00
|
|
|
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ pretty-expanded FIXME #23616
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2015-03-19 15:39:03 -07:00
|
|
|
extern crate coherence_lib as lib;
|
2015-01-01 16:45:59 -05:00
|
|
|
use lib::Remote1;
|
|
|
|
|
|
|
|
struct Foo<T>(T);
|
|
|
|
|
|
|
|
impl<T> Remote1<T> for Foo<T> { }
|
|
|
|
|
|
|
|
fn main() { }
|