]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-945.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[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 }