Debian Codegraph @

gcc/testsuite/rust/compile/self-path1.rs

raw
1 // { dg-additional-options "-w" }
2 struct foo;
3
4 fn bar() -> self::foo {
5 crate::foo
6 }
7
8 fn baz() {
9 let a: foo = self::bar();
10
11 crate::bar();
12 }