Skip to content

Commit

Permalink
Apply extern "C" calling convention
Browse files Browse the repository at this point in the history
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
  • Loading branch information
Aaron1011 and Amanieu committed Aug 7, 2020
1 parent 91dda2c commit c34c77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/debuginfo/function-arguments-naked.rs
Expand Up @@ -37,6 +37,6 @@ fn main() {
}

#[naked]
fn naked(x: usize, y: usize) {
extern "C" fn naked(x: usize, y: usize) {
unsafe { asm!("ret"); } // #break
}

0 comments on commit c34c77c

Please sign in to comment.