This commit is contained in:
The Miri Conjob Bot 2023-08-29 05:45:20 +00:00
parent 650294cdc2
commit fb3565a848

View File

@ -1,8 +1,10 @@
use std::num;
use std::mem;
use std::num;
fn test_abi_compat<T, U>(t: T, u: U) {
fn id<T>(x: T) -> T { x }
fn id<T>(x: T) -> T {
x
}
// This checks ABI compatibility both for arguments and return values,
// in both directions.