fix codegen test

This commit is contained in:
Deadbeef 2021-10-14 07:35:35 +00:00
parent 26b78ccd31
commit 11fac09ead
No known key found for this signature in database
GPG Key ID: 027DF9338862ADDD

View File

@ -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() {