blob: d3be14b2be2a3a6757e6453f7803f6ecbd9b7579 [file] [log] [blame] [edit]
//@ known-bug: #139462
//@ compile-flags: -Cdebuginfo=2
//@ ignore-backends: gcc
#![feature(unsafe_binders)]
use std::unsafe_binder::wrap_binder;
fn main() {
let foo = 0;
let foo: unsafe<'a> &'a u32 = unsafe { wrap_binder!(&foo) };
}