fix codegen test
This commit is contained in:
parent
26b78ccd31
commit
11fac09ead
1 changed files with 2 additions and 2 deletions
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
use std::intrinsics::const_eval_select;
|
||||
|
||||
const fn foo(_: (i32,)) -> i32 { 1 }
|
||||
const fn foo(_: i32) -> i32 { 1 }
|
||||
|
||||
#[no_mangle]
|
||||
pub fn hi((n,): (i32,)) -> i32 { n }
|
||||
pub fn hi(n: i32) -> i32 { n }
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe fn hey() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue