☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
inline_1.rs
☽
☼
gcc/testsuite/rust/compile/inline_1.rs
code
plain
raw
1
// { dg-additional-options "-fdump-tree-gimple" }
2
#[inline]
3
fn test_a() {}
4
5
// { dg-final { scan-tree-dump-times {always_inline} 1 gimple } }
6
#[inline(always)]
7
fn test_b() {}
8
9
#[inline(never)]
10
fn test_c() {}
11
12
fn main() {
13
test_a();
14
test_b();
15
test_c();
16
}