1 //! Test that when a crate is linked under another name that name is used in global paths
3 // aux-build:issue-1920.rs
5 extern crate issue_1920 as bar;
7 fn assert_clone<T>() where T : Clone { }
10 assert_clone::<bar::S>();
11 //~^ ERROR `S: Clone` is not satisfied