mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
12 lines
282 B
Rust
12 lines
282 B
Rust
//@ compile-flags: -Zunstable-options -Zoffload=Device -Clto=fat
|
|
|
|
#![feature(core_intrinsics)]
|
|
|
|
fn main() {
|
|
// args_ty is not a tuple
|
|
core::intrinsics::offload::<_, _, ()>(kernel_0, [1, 1, 1], [1, 1, 1], 0, 42);
|
|
//~^ ERROR `{integer}` is not a tuple
|
|
}
|
|
|
|
fn kernel_0() {}
|