fix codegen test
This commit is contained in:
parent
26b78ccd31
commit
11fac09ead
@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
use std::intrinsics::const_eval_select;
|
use std::intrinsics::const_eval_select;
|
||||||
|
|
||||||
const fn foo(_: (i32,)) -> i32 { 1 }
|
const fn foo(_: i32) -> i32 { 1 }
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn hi((n,): (i32,)) -> i32 { n }
|
pub fn hi(n: i32) -> i32 { n }
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub unsafe fn hey() {
|
pub unsafe fn hey() {
|
||||||
|
Loading…
Reference in New Issue
Block a user