Debian Codegraph @

gcc/testsuite/rust/compile/torture/unsafe3.rs

raw
1 pub fn test() -> i32 {
2 let a = unsafe { 123 };
3 a
4 }
5
6 pub fn main() {
7 let a = test();
8 // { dg-warning "unused name" "" { target *-*-* } .-1 }
9 }