rust/tests/ui/type-ptr.rs
2023-01-11 09:32:08 +00:00

10 lines
213 B
Rust

// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
fn f(a: *const isize) -> *const isize { return a; }
fn g(a: *const isize) -> *const isize { let b = f(a); return b; }
pub fn main() { return; }