1 #![feature(rustc_attrs)]
3 // This test is the same code as in ui/issue-53912.rs but this test checks that the symbol mangling
4 // fix produces the correct result, whereas that test just checks that the reproduction compiles
5 // successfully and doesn't segfault
10 pub(crate) struct Foo;
13 pub(crate) struct Foo<T>(T);
15 impl Foo<::llvm::Foo> {
17 //~^ ERROR _ZN11issue_609253foo36Foo$LT$issue_60925..llv$6d$..Foo$GT$3foo17h059a991a004536adE
20 for _ in &[::dummy()] {