]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-945.rs
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
[rust.git] / src / tools / rustfmt / tests / target / issue-945.rs
1 impl Bar {
2     default const unsafe fn foo() {
3         "hi"
4     }
5 }
6
7 impl Baz {
8     default unsafe extern "C" fn foo() {
9         "hi"
10     }
11 }
12
13 impl Foo for Bar {
14     default fn foo() {
15         "hi"
16     }
17 }