Debian Codegraph @

gcc/testsuite/rust/compile/infer-crate-name.rs

raw
1 // { dg-additional-options "-fdump-tree-gimple" }
2 pub fn does_nothing() {}
3 fn main() {
4 does_nothing()
5 }
6 // { dg-final { scan-tree-dump-times {infer_crate_name::does_nothing} 2 gimple } }
7 // { dg-final { scan-tree-dump-times {infer_crate_name::main} 1 gimple } }