Debian Codegraph @

gcc/testsuite/rust/debug/custom_link_section.rs

raw
1 #[link_section = ".universe"]
2 fn not_in_text() -> i32 {
3 42
4 }
5
6 fn main() -> i32 {
7 // { dg-do compile }
8 // { dg-options "-gdwarf-5 -dA -w" }
9 not_in_text();
10 // { dg-final { scan-assembler ".universe" } } */
11
12 0
13 }