]>
Commit | Line | Data |
---|---|---|
5099ac24 | 1 | // compile-flags: -Cinstrument-coverage -Ccodegen-units=4 -Copt-level=0 |
a2a8927a XL |
2 | |
3 | #![allow(dead_code)] | |
4 | ||
5 | mod foo { | |
6 | #[inline(always)] | |
7 | pub fn called() { } | |
8 | ||
9 | fn uncalled() { } | |
10 | } | |
11 | ||
12 | pub mod bar { | |
13 | pub fn call_me() { | |
14 | super::foo::called(); | |
15 | } | |
16 | } | |
17 | ||
18 | pub mod baz { | |
19 | pub fn call_me() { | |
20 | super::foo::called(); | |
21 | } | |
22 | } |