diff options
Diffstat (limited to 'tests/codegen/intrinsics/const_eval_select.rs')
| -rw-r--r-- | tests/codegen/intrinsics/const_eval_select.rs | 22 | 
1 files changed, 0 insertions, 22 deletions
| diff --git a/tests/codegen/intrinsics/const_eval_select.rs b/tests/codegen/intrinsics/const_eval_select.rs deleted file mode 100644 index baa985b00cd..00000000000 --- a/tests/codegen/intrinsics/const_eval_select.rs +++ /dev/null @@ -1,22 +0,0 @@ -//@ compile-flags: -C no-prepopulate-passes -Copt-level=0 - -#![crate_type = "lib"] -#![feature(const_eval_select)] -#![feature(core_intrinsics)] - -use std::intrinsics::const_eval_select; - -const fn foo(_: i32) -> i32 { - 1 -} - -#[no_mangle] -pub fn hi(n: i32) -> i32 { - n -} - -#[no_mangle] -pub unsafe fn hey() { - // CHECK: call i32 @hi(i32 - const_eval_select((42,), foo, hi); -} | 
