]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-naked_functions.rs
Use `summary_opts()` in another spot
[rust.git] / src / test / ui / feature-gates / feature-gate-naked_functions.rs
1 #[naked]
2 //~^ the `#[naked]` attribute is an experimental feature
3 fn naked() {}
4
5 #[naked]
6 //~^ the `#[naked]` attribute is an experimental feature
7 fn naked_2() -> isize {
8     0
9 }
10
11 fn main() {}